home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1998-03-19 | 81.8 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, Fri Mar 31 09:33:54 1995, modified Thu Mar 19 14:04:05 1998, creator 'HLX2', type 'ONLN', 79861 bytes "HHG Addendum 1.2" , at 0x13875 3688 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 48 48 47 20 41 64 | 64 65 6e 64 75 6d 20 31 |..HHG Ad|dendum 1|
|00000010| 2e 32 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.2......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 00 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 01 37 f5 00 | 00 0e 68 ab a1 c3 52 b1 |.....7..|..h...R.|
|00000060| 37 1c a5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |7.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ac 83 00 00 |........|........|
|00000080| 41 64 64 65 6e 64 75 6d | 20 74 6f 20 54 68 65 20 |Addendum| to The |
|00000090| 48 69 74 63 68 48 69 6b | 65 72 27 73 20 47 75 69 |HitchHik|er's Gui|
|000000a0| 64 65 0d 74 6f 20 53 50 | 45 43 20 53 26 4c 20 76 |de.to SP|EC S&L v|
|000000b0| 2e 31 2e 31 0d 44 6f 63 | 75 6d 65 6e 74 20 56 65 |.1.1.Doc|ument Ve|
|000000c0| 72 73 69 6f 6e 20 31 2e | 30 0d 43 6f 6e 74 65 6e |rsion 1.|0.Conten|
|000000d0| 74 73 0d 45 78 63 65 70 | 74 69 6f 6e 20 48 61 6e |ts.Excep|tion Han|
|000000e0| 64 6c 69 6e 67 20 69 6e | 20 53 50 45 43 20 53 26 |dling in| SPEC S&|
|000000f0| 4c 20 31 2e 32 09 33 0d | 54 6f 67 67 6c 69 6e 67 |L 1.2.3.|Toggling|
|00000100| 20 45 78 63 65 70 74 69 | 6f 6e 20 48 61 6e 64 6c | Excepti|on Handl|
|00000110| 69 6e 67 20 4f 6e 20 61 | 6e 64 20 4f 66 66 09 33 |ing On a|nd Off.3|
|00000120| 0d 57 72 61 70 70 65 72 | 20 54 61 73 6b 73 09 33 |.Wrapper| Tasks.3|
|00000130| 0d 43 75 73 74 6f 6d 20 | 45 78 63 65 70 74 69 6f |.Custom |Exceptio|
|00000140| 6e 20 48 61 6e 64 6c 69 | 6e 67 09 35 0d 43 61 6c |n Handli|ng.5.Cal|
|00000150| 6c 69 6e 67 20 45 78 63 | 65 70 74 69 6f 6e 44 69 |ling Exc|eptionDi|
|00000160| 73 70 61 74 63 68 65 72 | 28 29 09 39 0d 43 72 61 |spatcher|().9.Cra|
|00000170| 73 68 20 48 61 6e 64 6c | 69 6e 67 09 31 30 0d 4d |sh Handl|ing.10.M|
|00000180| 6f 64 69 66 79 69 6e 67 | 20 47 6c 6f 62 61 6c 73 |odifying| Globals|
|00000190| 09 31 31 0d 51 75 69 63 | 6b 4c 6f 6f 6b 20 4d 6f |.11.Quic|kLook Mo|
|000001a0| 64 69 66 69 63 61 74 69 | 6f 6e 73 09 31 32 0d 41 |dificati|ons.12.A|
|000001b0| 70 70 65 6e 64 69 78 20 | 41 20 2d 20 47 6c 6f 62 |ppendix |A - Glob|
|000001c0| 61 6c 73 20 43 68 61 6e | 67 65 73 20 73 69 6e 63 |als Chan|ges sinc|
|000001d0| 65 20 76 31 2e 31 09 31 | 34 0d 0d 45 78 63 65 70 |e v1.1.1|4..Excep|
|000001e0| 74 69 6f 6e 20 48 61 6e | 64 6c 69 6e 67 20 69 6e |tion Han|dling in|
|000001f0| 20 53 50 45 43 20 53 26 | 4c 20 31 2e 32 0d 4e 6f | SPEC S&|L 1.2.No|
|00000200| 74 65 3a 20 20 49 74 20 | 69 73 20 61 73 73 75 6d |te: It |is assum|
|00000210| 65 64 20 74 68 61 74 20 | 74 68 65 20 72 65 61 64 |ed that |the read|
|00000220| 65 72 20 69 73 20 61 6c | 72 65 61 64 79 20 66 61 |er is al|ready fa|
|00000230| 6d 69 6c 69 61 72 20 77 | 69 74 68 20 56 69 72 74 |miliar w|ith Virt|
|00000240| 75 61 6c 20 55 73 65 72 | 20 65 78 63 65 70 74 69 |ual User| excepti|
|00000250| 6f 6e 20 63 6f 64 65 73 | 2c 20 74 68 65 20 56 69 |on codes|, the Vi|
|00000260| 72 74 75 61 6c 20 55 73 | 65 72 20 32 2e 31 20 69 |rtual Us|er 2.1 i|
|00000270| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |mplement|ation of|
|00000280| 20 45 78 63 65 70 74 69 | 6f 6e 20 48 61 6e 64 6c | Excepti|on Handl|
|00000290| 69 6e 67 20 61 6e 64 20 | 77 69 74 68 20 74 68 65 |ing and |with the|
|000002a0| 20 56 69 72 74 75 61 6c | 20 55 73 65 72 20 62 75 | Virtual| User bu|
|000002b0| 69 6c 74 2d 69 6e 20 74 | 61 73 6b 20 43 6f 6d 6d |ilt-in t|ask Comm|
|000002c0| 61 6e 64 45 78 63 65 70 | 74 69 6f 6e 73 28 29 2e |andExcep|tions().|
|000002d0| 20 20 49 66 20 6e 6f 74 | 2c 20 70 6c 65 61 73 65 | If not|, please|
|000002e0| 20 72 65 66 65 72 20 74 | 6f 20 74 68 65 20 45 78 | refer t|o the Ex|
|000002f0| 63 65 70 74 69 6f 6e 20 | 43 6f 64 65 20 61 6e 64 |ception |Code and|
|00000300| 20 74 68 65 20 45 78 63 | 65 70 74 69 6f 6e 20 48 | the Exc|eption H|
|00000310| 61 6e 64 6c 69 6e 67 20 | 73 65 63 74 69 6f 6e 73 |andling |sections|
|00000320| 20 6f 66 20 56 69 72 74 | 75 61 6c 20 55 73 65 72 | of Virt|ual User|
|00000330| 20 56 65 72 73 69 6f 6e | 20 32 2e 31 20 41 64 64 | Version| 2.1 Add|
|00000340| 65 6e 64 75 6d 20 74 6f | 20 56 65 72 73 69 6f 6e |endum to| Version|
|00000350| 20 32 2e 30 20 4d 61 6e | 75 61 6c 73 2e 0d 54 6f | 2.0 Man|uals..To|
|00000360| 67 67 6c 69 6e 67 20 45 | 78 63 65 70 74 69 6f 6e |ggling E|xception|
|00000370| 20 48 61 6e 64 6c 69 6e | 67 20 4f 6e 20 61 6e 64 | Handlin|g On and|
|00000380| 20 4f 66 66 0d 45 78 63 | 65 70 74 69 6f 6e 20 48 | Off.Exc|eption H|
|00000390| 61 6e 64 6c 69 6e 67 20 | 69 6e 20 53 50 45 43 20 |andling |in SPEC |
|000003a0| 53 26 4c 20 31 2e 32 20 | 69 73 20 6f 6e 20 62 79 |S&L 1.2 |is on by|
|000003b0| 20 64 65 66 61 75 6c 74 | 2e 20 20 54 6f 20 63 6f | default|. To co|
|000003c0| 6e 74 72 6f 6c 20 65 78 | 63 65 70 74 69 6f 6e 20 |ntrol ex|ception |
|000003d0| 68 61 6e 64 6c 69 6e 67 | 20 6f 6e 20 61 6e 20 69 |handling| on an i|
|000003e0| 6e 64 69 76 69 64 75 61 | 6c 20 73 63 72 69 70 74 |ndividua|l script|
|000003f0| 20 62 61 73 69 73 20 28 | 61 73 73 75 6d 69 6e 67 | basis (|assuming|
|00000400| 20 61 6c 6c 20 79 6f 75 | 72 20 73 63 72 69 70 74 | all you|r script|
|00000410| 73 20 63 61 6c 6c 20 49 | 6e 69 74 47 6c 6f 62 61 |s call I|nitGloba|
|00000420| 6c 73 28 29 29 2c 20 64 | 65 66 69 6e 65 20 74 68 |ls()), d|efine th|
|00000430| 65 20 67 6c 6f 62 61 6c | 20 67 43 6f 6d 6d 61 6e |e global| gComman|
|00000440| 64 45 78 63 65 70 74 69 | 6f 6e 73 20 62 79 20 63 |dExcepti|ons by c|
|00000450| 61 6c 6c 69 6e 67 20 49 | 6e 69 74 47 6c 6f 62 61 |alling I|nitGloba|
|00000460| 6c 73 28 29 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |ls() as |follows:|
|00000470| 0d 49 6e 69 74 47 6c 6f | 62 61 6c 73 20 28 2c 7b |.InitGlo|bals (,{|
|00000480| 7b 27 67 43 6f 6d 6d 61 | 6e 64 45 78 63 65 70 74 |{'gComma|ndExcept|
|00000490| 69 6f 6e 73 27 2c 20 3c | 62 6f 6f 6c 65 61 6e 3e |ions', <|boolean>|
|000004a0| 7d 7d 29 3b 0d 77 68 65 | 72 65 20 3c 62 6f 6f 6c |}});.whe|re <bool|
|000004b0| 65 61 6e 3e 20 72 65 70 | 72 65 73 65 6e 74 73 3a |ean> rep|resents:|
|000004c0| 0d 31 20 2d 20 65 78 63 | 65 70 74 69 6f 6e 20 68 |.1 - exc|eption h|
|000004d0| 61 6e 64 6c 69 6e 67 20 | 6f 6e 20 6f 72 0d 30 20 |andling |on or.0 |
|000004e0| 2d 20 65 78 63 65 70 74 | 69 6f 6e 20 68 61 6e 64 |- except|ion hand|
|000004f0| 6c 69 6e 67 20 6f 66 66 | 2e 0d 49 66 20 79 6f 75 |ling off|..If you|
|00000500| 72 20 73 63 72 69 70 74 | 73 20 70 61 73 73 20 73 |r script|s pass s|
|00000510| 63 72 69 70 74 20 70 61 | 72 61 6d 61 74 65 72 73 |cript pa|ramaters|
|00000520| 20 69 6e 74 6f 20 49 6e | 69 74 47 6c 6f 62 61 6c | into In|itGlobal|
|00000530| 73 28 29 20 28 69 2e 65 | 2e 20 74 68 65 20 32 35 |s() (i.e|. the 25|
|00000540| 20 65 78 61 6d 70 6c 65 | 20 51 75 69 63 6b 4c 6f | example| QuickLo|
|00000550| 6f 6b 73 20 69 6e 63 6c | 75 64 65 64 20 69 6e 20 |oks incl|uded in |
|00000560| 74 68 65 20 53 50 45 43 | 20 53 26 4c 20 70 61 63 |the SPEC| S&L pac|
|00000570| 6b 61 67 65 29 2c 20 74 | 68 69 73 20 6c 69 73 74 |kage), t|his list|
|00000580| 20 63 61 6e 20 62 65 20 | 70 61 73 73 65 64 20 69 | can be |passed i|
|00000590| 6e 74 6f 20 79 6f 75 72 | 20 73 63 72 69 70 74 20 |nto your| script |
|000005a0| 76 69 61 20 74 68 65 20 | 22 73 65 74 20 73 63 72 |via the |"set scr|
|000005b0| 69 70 74 20 70 61 72 61 | 6d 65 74 65 72 73 22 20 |ipt para|meters" |
|000005c0| 6f 70 74 69 6f 6e 20 69 | 6e 20 74 68 65 20 56 55 |option i|n the VU|
|000005d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6f 72 20 | applica|tion or |
|000005e0| 76 69 61 20 61 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |via a co|ntroller|
|000005f0| 20 73 63 72 69 70 74 2c | 20 61 73 20 66 6f 6c 6c | script,| as foll|
|00000600| 6f 77 73 3a 0d 73 63 72 | 69 70 74 20 4d 61 63 57 |ows:.scr|ipt MacW|
|00000610| 72 69 74 65 20 28 2c 7b | 7b 27 67 43 6f 6d 6d 61 |rite (,{|{'gComma|
|00000620| 6e 64 45 78 63 65 70 74 | 69 6f 6e 73 27 2c 20 3c |ndExcept|ions', <|
|00000630| 62 6f 6f 6c 65 61 6e 3e | 7d 7d 29 3b 0d 46 69 6e |boolean>|}});.Fin|
|00000640| 61 6c 6c 79 2c 20 79 6f | 75 20 63 61 6e 20 69 6e |ally, yo|u can in|
|00000650| 73 65 72 74 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |sert the| followi|
|00000660| 6e 67 20 6c 69 6e 65 20 | 69 6e 74 6f 20 79 6f 75 |ng line |into you|
|00000670| 72 20 73 63 72 69 70 74 | 20 61 74 20 61 6e 79 74 |r script| at anyt|
|00000680| 69 6d 65 20 61 66 74 65 | 72 20 49 6e 69 74 47 6c |ime afte|r InitGl|
|00000690| 6f 62 61 6c 73 28 29 20 | 69 73 20 63 61 6c 6c 65 |obals() |is calle|
|000006a0| 64 20 74 6f 20 63 6f 6e | 74 72 6f 6c 20 45 78 63 |d to con|trol Exc|
|000006b0| 65 70 74 69 6f 6e 20 48 | 61 6e 64 6c 69 6e 67 3a |eption H|andling:|
|000006c0| 0d 43 6f 6d 6d 61 6e 64 | 45 78 63 65 70 74 69 6f |.Command|Exceptio|
|000006d0| 6e 73 28 3c 62 6f 6f 6c | 65 61 6e 3e 29 3b 0d 45 |ns(<bool|ean>);.E|
|000006e0| 78 63 65 70 74 69 6f 6e | 20 48 61 6e 64 6c 69 6e |xception| Handlin|
|000006f0| 67 20 63 61 6e 20 61 6c | 73 6f 20 62 65 20 63 6f |g can al|so be co|
|00000700| 6e 74 72 6f 6c 6c 65 64 | 20 6f 6e 20 61 20 73 63 |ntrolled| on a sc|
|00000710| 72 69 70 74 77 69 64 65 | 20 62 61 73 69 73 20 28 |riptwide| basis (|
|00000720| 61 73 73 75 6d 69 6e 67 | 20 61 6c 6c 20 79 6f 75 |assuming| all you|
|00000730| 72 20 73 63 72 69 70 74 | 73 20 63 61 6c 6c 20 49 |r script|s call I|
|00000740| 6e 69 74 47 6c 6f 62 61 | 6c 73 28 29 29 20 62 79 |nitGloba|ls()) by|
|00000750| 20 70 6c 61 63 69 6e 67 | 20 74 68 65 20 61 62 6f | placing| the abo|
|00000760| 76 65 20 6c 69 6e 65 20 | 6f 66 20 63 6f 64 65 20 |ve line |of code |
|00000770| 69 6e 20 74 68 65 20 49 | 6e 69 74 43 75 73 74 6f |in the I|nitCusto|
|00000780| 6d 28 29 20 74 61 73 6b | 20 69 6e 20 43 75 73 74 |m() task| in Cust|
|00000790| 6f 6d 2e 4c 69 62 2e 20 | 20 48 6f 77 65 76 65 72 |om.Lib. | However|
|000007a0| 2c 20 79 6f 75 20 6d 75 | 73 74 20 75 73 65 20 63 |, you mu|st use c|
|000007b0| 61 75 74 69 6f 6e 20 77 | 68 65 6e 20 75 73 69 6e |aution w|hen usin|
|000007c0| 67 20 74 68 69 73 20 6d | 65 74 68 6f 64 20 73 69 |g this m|ethod si|
|000007d0| 6e 63 65 20 69 74 20 6f | 76 65 72 72 69 64 65 73 |nce it o|verrides|
|000007e0| 20 61 6c 6c 20 73 65 74 | 74 69 6e 67 73 20 77 68 | all set|tings wh|
|000007f0| 69 63 68 20 61 72 65 20 | 69 6e 69 74 69 61 6c 69 |ich are |initiali|
|00000800| 7a 65 64 20 77 68 65 6e | 20 49 6e 69 74 47 6c 6f |zed when| InitGlo|
|00000810| 62 61 6c 73 28 29 20 69 | 73 20 63 61 6c 6c 65 64 |bals() i|s called|
|00000820| 2e 0d 57 72 61 70 70 65 | 72 20 54 61 73 6b 73 0d |..Wrappe|r Tasks.|
|00000830| 53 50 45 43 20 53 26 4c | 20 31 2e 32 20 75 73 65 |SPEC S&L| 1.2 use|
|00000840| 73 20 74 68 65 20 22 74 | 72 79 2d 74 68 72 6f 77 |s the "t|ry-throw|
|00000850| 2d 63 61 74 63 68 22 20 | 73 74 79 6c 65 20 6f 66 |-catch" |style of|
|00000860| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|00000870| 69 6e 67 20 74 68 61 74 | 20 69 73 20 73 75 70 70 |ing that| is supp|
|00000880| 6f 72 74 65 64 20 69 6e | 20 56 69 72 74 75 61 6c |orted in| Virtual|
|00000890| 20 55 73 65 72 20 32 2e | 31 2e 20 20 41 6c 6c 20 | User 2.|1. All |
|000008a0| 62 75 69 6c 74 2d 69 6e | 20 56 2e 55 2e 20 63 6f |built-in| V.U. co|
|000008b0| 6d 6d 61 6e 64 73 20 61 | 6e 64 20 74 61 73 6b 73 |mmands a|nd tasks|
|000008c0| 20 77 68 69 63 68 20 61 | 63 63 65 73 73 20 61 20 | which a|ccess a |
|000008d0| 74 61 72 67 65 74 20 61 | 6e 64 20 61 6c 6c 20 74 |target a|nd all t|
|000008e0| 61 73 6b 73 20 77 68 69 | 63 68 20 63 61 6c 6c 20 |asks whi|ch call |
|000008f0| 74 61 72 67 65 74 2d 62 | 61 73 65 64 20 53 50 45 |target-b|ased SPE|
|00000900| 43 20 53 26 4c 2d 62 75 | 6e 64 6c 65 64 20 56 2e |C S&L-bu|ndled V.|
|00000910| 55 2e 20 65 78 74 65 72 | 6e 61 6c 20 74 6f 6f 6c |U. exter|nal tool|
|00000920| 73 20 68 61 76 65 20 62 | 65 65 6e 20 72 65 70 6c |s have b|een repl|
|00000930| 61 63 65 64 20 62 79 20 | 22 77 72 61 70 70 65 72 |aced by |"wrapper|
|00000940| 22 20 74 61 73 6b 73 2c | 20 61 73 20 66 6f 6c 6c |" tasks,| as foll|
|00000950| 6f 77 73 3a 0d 09 0d 42 | 75 69 6c 74 2d 69 6e 20 |ows:...B|uilt-in |
|00000960| 56 2e 55 2e 20 63 6f 6d | 6d 61 6e 64 20 6f 72 20 |V.U. com|mand or |
|00000970| 74 61 73 6b 09 53 50 45 | 43 20 53 26 4c 20 31 2e |task.SPE|C S&L 1.|
|00000980| 32 20 57 72 61 70 70 65 | 72 20 74 61 73 6b 09 0d |2 Wrappe|r task..|
|00000990| 09 09 0d 63 6f 6c 6c 65 | 63 74 09 5f 63 6f 6c 6c |...colle|ct._coll|
|000009a0| 65 63 74 09 0d 6d 61 74 | 63 68 09 5f 6d 61 74 63 |ect..mat|ch._matc|
|000009b0| 68 09 0d 6d 61 74 63 68 | 20 28 62 6f 6f 6c 65 61 |h..match| (boolea|
|000009c0| 6e 29 09 5f 6d 61 74 63 | 68 42 6f 6f 6c 65 61 6e |n)._matc|hBoolean|
|000009d0| 09 0d 73 65 6c 65 63 74 | 09 5f 73 65 6c 65 63 74 |..select|._select|
|000009e0| 09 0d 64 72 61 67 09 5f | 64 72 61 67 09 0d 73 69 |..drag._|drag..si|
|000009f0| 7a 65 09 5f 73 69 7a 65 | 09 0d 63 6c 6f 73 65 09 |ze._size|..close.|
|00000a00| 5f 63 6c 6f 73 65 09 0d | 7a 6f 6f 6d 09 5f 7a 6f |_close..|zoom._zo|
|00000a10| 6f 6d 09 0d 73 63 72 6f | 6c 6c 09 5f 73 63 72 6f |om..scro|ll._scro|
|00000a20| 6c 6c 09 0d 74 79 70 65 | 09 5f 74 79 70 65 09 0d |ll..type|._type..|
|00000a30| 70 72 65 73 73 6b 65 79 | 09 5f 70 72 65 73 73 6b |presskey|._pressk|
|00000a40| 65 79 09 0d 72 65 6c 65 | 61 73 65 6b 65 79 09 5f |ey..rele|asekey._|
|00000a50| 72 65 6c 65 61 73 65 6b | 65 79 09 0d 6d 6f 76 65 |releasek|ey..move|
|00000a60| 09 5f 6d 6f 76 65 09 0d | 63 6c 69 63 6b 09 5f 63 |._move..|click._c|
|00000a70| 6c 69 63 6b 09 0d 64 6f | 75 62 6c 65 63 6c 69 63 |lick..do|ubleclic|
|00000a80| 6b 09 5f 64 6f 75 62 6c | 65 63 6c 69 63 6b 09 0d |k._doubl|eclick..|
|00000a90| 70 72 65 73 73 4d 6f 75 | 73 65 09 5f 70 72 65 73 |pressMou|se._pres|
|00000aa0| 73 4d 6f 75 73 65 09 0d | 72 65 6c 65 61 73 65 6d |sMouse..|releasem|
|00000ab0| 6f 75 73 65 09 5f 72 65 | 6c 65 61 73 65 6d 6f 75 |ouse._re|leasemou|
|00000ac0| 73 65 09 0d 6c 61 75 6e | 63 68 09 5f 6c 61 75 6e |se..laun|ch._laun|
|00000ad0| 63 68 09 0d 67 65 73 74 | 61 6c 74 09 5f 67 65 73 |ch..gest|alt._ges|
|00000ae0| 74 61 6c 74 09 0d 64 65 | 62 75 67 73 74 72 09 5f |talt..de|bugstr._|
|00000af0| 64 65 62 75 67 73 74 72 | 09 0d 09 09 0d 56 2e 55 |debugstr|.....V.U|
|00000b00| 2e 20 45 78 74 65 72 6e | 61 6c 20 54 6f 6f 6c 20 |. Extern|al Tool |
|00000b10| 74 61 73 6b 09 53 50 45 | 43 20 53 26 4c 20 31 2e |task.SPE|C S&L 1.|
|00000b20| 32 20 57 72 61 70 70 65 | 72 20 74 61 73 6b 09 0d |2 Wrappe|r task..|
|00000b30| 09 09 0d 46 69 6c 65 54 | 6f 6f 6c 09 5f 46 69 6c |...FileT|ool._Fil|
|00000b40| 65 54 6f 6f 6c 09 0d 4d | 65 6d 6f 72 79 4d 6f 6e |eTool..M|emoryMon|
|00000b50| 69 74 6f 72 09 5f 4d 65 | 6d 6f 72 79 4d 6f 6e 69 |itor._Me|moryMoni|
|00000b60| 74 6f 72 09 0d 4f 6e 54 | 61 72 67 65 74 09 5f 4f |tor..OnT|arget._O|
|00000b70| 6e 54 61 72 67 65 74 09 | 0d 49 76 79 09 5f 49 76 |nTarget.|.Ivy._Iv|
|00000b80| 79 09 0d 0d 4e 6f 74 65 | 3a 20 53 65 65 20 74 68 |y...Note|: See th|
|00000b90| 65 20 69 6e 64 69 76 69 | 64 75 61 6c 20 74 61 73 |e indivi|dual tas|
|00000ba0| 6b 20 68 65 61 64 65 72 | 73 20 69 6e 20 74 68 65 |k header|s in the|
|00000bb0| 20 45 78 63 65 70 74 69 | 6f 6e 20 48 61 6e 64 6c | Excepti|on Handl|
|00000bc0| 69 6e 67 2e 4c 69 62 2c | 20 49 76 79 4f 70 65 72 |ing.Lib,| IvyOper|
|00000bd0| 61 74 69 6f 6e 73 2e 4c | 69 62 2c 20 4f 6e 54 61 |ations.L|ib, OnTa|
|00000be0| 72 67 65 74 4f 70 65 72 | 61 74 69 6f 6e 73 2e 4c |rgetOper|ations.L|
|00000bf0| 69 62 2c 20 4d 65 6d 6f | 72 79 4d 6f 6e 69 74 6f |ib, Memo|ryMonito|
|00000c00| 72 4f 70 65 72 61 74 69 | 6f 6e 73 2e 4c 69 62 2c |rOperati|ons.Lib,|
|00000c10| 20 61 6e 64 20 46 69 6c | 65 54 6f 6f 6c 4f 70 65 | and Fil|eToolOpe|
|00000c20| 72 61 74 69 6f 6e 73 2e | 4c 69 62 20 66 6f 72 20 |rations.|Lib for |
|00000c30| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00000c40| 20 61 62 6f 75 74 20 74 | 68 65 73 65 20 77 72 61 | about t|hese wra|
|00000c50| 70 70 65 72 20 74 61 73 | 6b 73 2e 0d 41 6c 6c 20 |pper tas|ks..All |
|00000c60| 77 72 61 70 70 65 72 20 | 74 61 73 6b 73 20 73 75 |wrapper |tasks su|
|00000c70| 70 70 6f 72 74 20 65 78 | 63 65 70 74 69 6f 6e 20 |pport ex|ception |
|00000c80| 68 61 6e 64 6c 69 6e 67 | 2e 20 20 54 68 6f 73 65 |handling|. Those|
|00000c90| 20 77 68 69 63 68 20 72 | 65 70 6c 61 63 65 20 56 | which r|eplace V|
|00000ca0| 2e 55 2e 20 63 6f 6d 6d | 61 6e 64 73 20 61 6e 64 |.U. comm|ands and|
|00000cb0| 20 74 61 73 6b 73 20 61 | 72 65 20 63 6f 6e 74 61 | tasks a|re conta|
|00000cc0| 69 6e 65 64 20 69 6e 20 | 74 68 65 20 45 78 63 65 |ined in |the Exce|
|00000cd0| 70 74 69 6f 6e 48 61 6e | 64 6c 69 6e 67 2e 4c 69 |ptionHan|dling.Li|
|00000ce0| 62 2e 20 20 54 68 6f 73 | 65 20 74 68 61 74 20 72 |b. Thos|e that r|
|00000cf0| 65 70 6c 61 63 65 20 74 | 61 73 6b 73 20 77 68 69 |eplace t|asks whi|
|00000d00| 63 68 20 63 61 6c 6c 20 | 74 61 72 67 65 74 2d 62 |ch call |target-b|
|00000d10| 61 73 65 64 20 56 2e 55 | 2e 20 65 78 74 65 72 6e |ased V.U|. extern|
|00000d20| 61 6c 20 74 6f 6f 6c 73 | 20 61 72 65 20 63 6f 6e |al tools| are con|
|00000d30| 74 61 69 6e 65 64 20 69 | 6e 20 74 68 65 20 72 65 |tained i|n the re|
|00000d40| 73 70 65 63 74 69 76 65 | 20 74 6f 6f 6c 20 6f 70 |spective| tool op|
|00000d50| 65 72 61 74 69 6f 6e 73 | 20 6c 69 62 72 61 72 69 |erations| librari|
|00000d60| 65 73 3a 20 49 76 79 4f | 70 65 72 61 74 69 6f 6e |es: IvyO|peration|
|00000d70| 73 2e 4c 69 62 2c 20 4f | 6e 54 61 72 67 65 74 4f |s.Lib, O|nTargetO|
|00000d80| 70 65 72 61 74 69 6f 6e | 73 2e 4c 69 62 2c 20 4d |peration|s.Lib, M|
|00000d90| 65 6d 6f 72 79 4d 6f 6e | 69 74 6f 72 4f 70 65 72 |emoryMon|itorOper|
|00000da0| 61 74 69 6f 6e 73 2e 4c | 69 62 2c 20 61 6e 64 20 |ations.L|ib, and |
|00000db0| 46 69 6c 65 54 6f 6f 6c | 4f 70 65 72 61 74 69 6f |FileTool|Operatio|
|00000dc0| 6e 73 2e 4c 69 62 2e 20 | 20 57 65 20 68 69 67 68 |ns.Lib. | We high|
|00000dd0| 6c 79 20 72 65 63 6f 6d | 6d 65 6e 64 20 75 73 69 |ly recom|mend usi|
|00000de0| 6e 67 20 53 50 45 43 20 | 53 26 4c 20 77 72 61 70 |ng SPEC |S&L wrap|
|00000df0| 70 65 72 20 74 61 73 6b | 73 20 69 6e 20 79 6f 75 |per task|s in you|
|00000e00| 72 20 73 63 72 69 70 74 | 73 20 72 61 74 68 65 72 |r script|s rather|
|00000e10| 20 74 68 61 6e 20 62 75 | 69 6c 74 2d 69 6e 20 56 | than bu|ilt-in V|
|00000e20| 55 20 63 6f 6d 6d 61 6e | 64 73 20 61 6e 64 20 74 |U comman|ds and t|
|00000e30| 61 73 6b 73 20 6f 72 20 | 74 61 72 67 65 74 2d 62 |asks or |target-b|
|00000e40| 61 73 65 64 20 56 2e 55 | 2e 20 65 78 74 65 72 6e |ased V.U|. extern|
|00000e50| 61 6c 20 74 6f 6f 6c 20 | 74 61 73 6b 73 2e 20 20 |al tool |tasks. |
|00000e60| 49 6e 20 73 69 74 75 61 | 74 69 6f 6e 73 20 77 68 |In situa|tions wh|
|00000e70| 65 72 65 20 53 50 45 43 | 20 53 26 4c 20 77 72 61 |ere SPEC| S&L wra|
|00000e80| 70 70 65 72 20 74 61 73 | 6b 73 20 63 61 6e 6e 6f |pper tas|ks canno|
|00000e90| 74 20 62 65 20 75 73 65 | 64 2c 20 28 69 2e 65 2e |t be use|d, (i.e.|
|00000ea0| 20 75 6e 69 66 69 63 61 | 74 69 6f 6e 29 2c 20 77 | unifica|tion), w|
|00000eb0| 65 20 72 65 63 6f 6d 6d | 65 6e 64 20 74 68 65 20 |e recomm|end the |
|00000ec0| 66 6f 6c 6c 6f 77 69 6e | 67 20 70 72 6f 63 65 64 |followin|g proced|
|00000ed0| 75 72 65 3a 0d 31 29 20 | 41 64 64 20 22 45 78 63 |ure:.1) |Add "Exc|
|00000ee0| 65 70 74 69 6f 6e 48 61 | 6e 64 6c 69 6e 67 2e 4c |eptionHa|ndling.L|
|00000ef0| 69 62 22 20 74 6f 20 79 | 6f 75 72 20 6c 69 62 72 |ib" to y|our libr|
|00000f00| 61 72 69 65 73 20 64 65 | 63 6c 61 72 61 74 69 6f |aries de|claratio|
|00000f10| 6e 2e 0d 32 29 20 42 72 | 61 63 6b 65 74 20 79 6f |n..2) Br|acket yo|
|00000f20| 75 72 20 63 6f 64 65 20 | 69 6e 20 74 72 79 2f 63 |ur code |in try/c|
|00000f30| 61 74 63 68 20 62 6c 6f | 63 6b 73 20 61 73 20 66 |atch blo|cks as f|
|00000f40| 6f 6c 6c 6f 77 73 3a 0d | 74 72 79 20 62 65 67 69 |ollows:.|try begi|
|00000f50| 6e 0d 09 3c 79 6f 75 72 | 20 63 6f 64 65 3e 0d 09 |n..<your| code>..|
|00000f60| 09 2e 0d 09 09 2e 0d 09 | 09 2e 0d 65 6e 64 3b 20 |........|...end; |
|00000f70| 23 20 74 72 79 0d 63 61 | 74 63 68 20 74 68 65 45 |# try.ca|tch theE|
|00000f80| 78 63 65 70 74 69 6f 6e | 0d 09 45 78 63 65 70 74 |xception|..Except|
|00000f90| 69 6f 6e 44 69 73 70 61 | 74 63 68 65 72 28 74 68 |ionDispa|tcher(th|
|00000fa0| 65 45 78 63 65 70 74 69 | 6f 6e 29 3b 09 0d 43 75 |eExcepti|on);..Cu|
|00000fb0| 73 74 6f 6d 20 45 78 63 | 65 70 74 69 6f 6e 20 48 |stom Exc|eption H|
|00000fc0| 61 6e 64 6c 69 6e 67 0d | 4e 6f 74 65 3a 20 20 57 |andling.|Note: W|
|00000fd0| 65 20 72 65 63 6f 6d 6d | 65 6e 64 20 74 68 61 74 |e recomm|end that|
|00000fe0| 20 74 68 65 20 73 63 72 | 69 70 74 20 64 65 76 65 | the scr|ipt deve|
|00000ff0| 6c 6f 70 65 72 20 68 61 | 76 65 20 61 20 76 65 72 |loper ha|ve a ver|
|00001000| 79 20 74 68 6f 72 6f 75 | 67 68 20 75 6e 64 65 72 |y thorou|gh under|
|00001010| 73 74 61 6e 64 69 6e 67 | 20 6f 66 20 74 68 65 20 |standing| of the |
|00001020| 64 65 66 61 75 6c 74 20 | 53 50 45 43 20 53 26 4c |default |SPEC S&L|
|00001030| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|00001040| 69 6e 67 20 6d 65 63 68 | 61 6e 69 73 6d 20 62 65 |ing mech|anism be|
|00001050| 66 6f 72 65 20 61 74 74 | 65 6d 70 74 69 6e 67 20 |fore att|empting |
|00001060| 74 6f 20 63 75 73 74 6f | 6d 69 7a 65 20 69 74 2e |to custo|mize it.|
|00001070| 0d 45 78 63 65 70 74 69 | 6f 6e 20 48 61 6e 64 6c |.Excepti|on Handl|
|00001080| 65 72 0d 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |er.The f|ollowing|
|00001090| 20 64 61 74 61 20 73 74 | 72 75 63 74 75 72 65 2c | data st|ructure,|
|000010a0| 20 66 72 6f 6d 20 68 65 | 72 65 6f 6e 20 72 65 66 | from he|reon ref|
|000010b0| 65 72 72 65 64 20 74 6f | 20 61 73 20 61 6e 20 22 |erred to| as an "|
|000010c0| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 65 |exceptio|n handle|
|000010d0| 72 22 2c 20 64 65 74 65 | 72 6d 69 6e 65 73 20 68 |r", dete|rmines h|
|000010e0| 6f 77 20 61 6e 20 65 78 | 63 65 70 74 69 6f 6e 20 |ow an ex|ception |
|000010f0| 69 73 20 68 61 6e 64 6c | 65 64 3a 0d 45 61 63 68 |is handl|ed:.Each|
|00001100| 20 65 6c 65 6d 65 6e 74 | 20 6f 66 20 74 68 65 20 | element| of the |
|00001110| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 65 |exceptio|n handle|
|00001120| 72 20 69 73 20 64 65 73 | 63 72 69 62 65 64 20 62 |r is des|cribed b|
|00001130| 65 6c 6f 77 3a 0d 54 61 | 73 6b 20 52 65 66 65 72 |elow:.Ta|sk Refer|
|00001140| 65 6e 63 65 0d 54 68 69 | 73 20 69 73 20 61 20 72 |ence.Thi|s is a r|
|00001150| 65 66 65 72 65 6e 63 65 | 20 74 6f 20 74 68 65 20 |eference| to the |
|00001160| 74 61 73 6b 20 77 68 69 | 63 68 20 77 69 6c 6c 20 |task whi|ch will |
|00001170| 68 61 6e 64 6c 65 20 74 | 68 65 20 45 78 63 65 70 |handle t|he Excep|
|00001180| 74 69 6f 6e 20 43 6f 64 | 65 2e 20 20 54 68 65 20 |tion Cod|e. The |
|00001190| 65 78 61 6d 70 6c 65 20 | 61 62 6f 76 65 20 75 73 |example |above us|
|000011a0| 65 73 20 22 74 61 73 6b | 20 63 72 61 73 68 48 61 |es "task| crashHa|
|000011b0| 6e 64 6c 65 72 22 2c 20 | 74 68 65 20 74 61 72 67 |ndler", |the targ|
|000011c0| 65 74 20 66 61 69 6c 75 | 72 65 20 68 61 6e 64 6c |et failu|re handl|
|000011d0| 69 6e 67 20 74 61 73 6b | 20 74 68 61 74 20 73 68 |ing task| that sh|
|000011e0| 69 70 73 20 77 69 74 68 | 20 53 50 45 43 20 53 26 |ips with| SPEC S&|
|000011f0| 4c 20 31 2e 32 2e 0d 4e | 6f 74 65 73 3a 20 20 49 |L 1.2..N|otes: I|
|00001200| 6e 20 67 65 6e 65 72 61 | 6c 2c 20 74 68 69 73 20 |n genera|l, this |
|00001210| 72 65 66 65 72 65 6e 63 | 65 20 77 69 6c 6c 20 6e |referenc|e will n|
|00001220| 6f 74 20 62 65 20 75 73 | 65 64 20 69 66 20 74 68 |ot be us|ed if th|
|00001230| 65 20 54 68 72 6f 77 20 | 46 6c 61 67 20 69 73 20 |e Throw |Flag is |
|00001240| 73 65 74 20 74 6f 20 31 | 20 28 73 65 65 20 45 78 |set to 1| (see Ex|
|00001250| 63 65 70 74 69 6f 6e 20 | 48 61 6e 64 6c 65 72 20 |ception |Handler |
|00001260| 74 61 73 6b 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |task doc|umentati|
|00001270| 6f 6e 20 62 65 6c 6f 77 | 20 66 6f 72 20 73 70 65 |on below| for spe|
|00001280| 63 69 61 6c 20 63 61 73 | 65 29 2e 20 20 44 75 65 |cial cas|e). Due|
|00001290| 20 74 6f 20 74 68 65 20 | 6e 61 74 75 72 65 20 6f | to the |nature o|
|000012a0| 66 20 74 68 65 20 62 75 | 69 6c 74 2d 69 6e 20 56 |f the bu|ilt-in V|
|000012b0| 2e 55 2e 20 63 61 6c 6c | 28 29 20 74 61 73 6b 2c |.U. call|() task,|
|000012c0| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|000012d0| 65 72 20 74 61 73 6b 73 | 20 63 61 6e 20 74 61 6b |er tasks| can tak|
|000012e0| 65 20 61 20 73 69 6e 67 | 6c 65 20 70 61 72 61 6d |e a sing|le param|
|000012f0| 65 74 65 72 20 6f 6e 6c | 79 20 2e 20 20 41 20 77 |eter onl|y . A w|
|00001300| 6f 72 6b 61 72 6f 75 6e | 64 20 74 6f 20 74 68 69 |orkaroun|d to thi|
|00001310| 73 20 6c 69 6d 69 74 61 | 74 69 6f 6e 20 69 73 20 |s limita|tion is |
|00001320| 64 65 66 69 6e 69 6e 67 | 20 74 68 65 20 73 69 6e |defining| the sin|
|00001330| 67 6c 65 20 70 61 72 61 | 6d 65 74 65 72 20 61 73 |gle para|meter as|
|00001340| 20 61 20 6c 69 73 74 20 | 61 6e 64 20 75 73 69 6e | a list |and usin|
|00001350| 67 20 69 6e 64 69 76 69 | 64 75 61 6c 20 6c 69 73 |g indivi|dual lis|
|00001360| 74 20 65 6c 65 6d 65 6e | 74 73 20 69 6e 20 74 68 |t elemen|ts in th|
|00001370| 65 20 74 61 73 6b 2e 0d | 50 61 72 61 6d 65 74 65 |e task..|Paramete|
|00001380| 72 20 74 6f 20 52 65 66 | 65 72 65 6e 63 65 64 20 |r to Ref|erenced |
|00001390| 54 61 73 6b 0d 54 68 69 | 73 20 69 73 20 74 68 65 |Task.Thi|s is the|
|000013a0| 20 70 61 72 61 6d 65 74 | 65 72 20 74 6f 20 62 65 | paramet|er to be|
|000013b0| 20 70 61 73 73 65 64 20 | 69 6e 74 6f 20 74 68 65 | passed |into the|
|000013c0| 20 72 65 66 65 72 65 6e | 63 65 64 20 74 61 73 6b | referen|ced task|
|000013d0| 2e 20 20 54 68 65 20 65 | 78 61 6d 70 6c 65 20 61 |. The e|xample a|
|000013e0| 62 6f 76 65 20 75 73 65 | 73 20 74 68 65 20 6c 69 |bove use|s the li|
|000013f0| 73 74 20 7b 31 7d 20 61 | 73 20 74 68 65 20 70 61 |st {1} a|s the pa|
|00001400| 72 61 6d 65 74 65 72 20 | 74 6f 20 62 65 20 70 61 |rameter |to be pa|
|00001410| 73 73 65 64 20 69 6e 74 | 6f 20 74 68 65 20 74 61 |ssed int|o the ta|
|00001420| 73 6b 20 63 72 61 73 68 | 48 61 6e 64 6c 65 72 2e |sk crash|Handler.|
|00001430| 0d 54 68 72 6f 77 20 46 | 6c 61 67 0d 54 68 69 73 |.Throw F|lag.This|
|00001440| 20 69 73 20 61 20 62 6f | 6f 6c 65 61 6e 20 64 65 | is a bo|olean de|
|00001450| 74 65 72 6d 69 6e 65 73 | 20 77 68 65 74 68 65 72 |termines| whether|
|00001460| 20 74 68 65 20 65 78 63 | 65 70 74 69 6f 6e 20 77 | the exc|eption w|
|00001470| 69 6c 6c 20 62 65 20 68 | 61 6e 64 6c 65 64 20 6f |ill be h|andled o|
|00001480| 72 20 74 68 72 6f 77 6e | 2c 20 61 73 20 66 6f 6c |r thrown|, as fol|
|00001490| 6c 6f 77 73 3a 0d 30 2d | 20 68 61 6e 64 6c 65 20 |lows:.0-| handle |
|000014a0| 74 68 65 20 65 78 63 65 | 70 74 69 6f 6e 20 62 79 |the exce|ption by|
|000014b0| 20 63 61 6c 6c 69 6e 67 | 20 74 68 65 20 72 65 66 | calling| the ref|
|000014c0| 65 72 65 6e 63 65 64 20 | 74 61 73 6b 0d 31 2d 20 |erenced |task.1- |
|000014d0| 74 68 72 6f 77 20 74 68 | 65 20 65 78 63 65 70 74 |throw th|e except|
|000014e0| 69 6f 6e 2e 20 20 4e 6f | 74 65 3a 20 20 49 6e 20 |ion. No|te: In |
|000014f0| 61 20 73 70 65 63 69 61 | 6c 20 63 61 73 65 20 28 |a specia|l case (|
|00001500| 73 65 65 20 45 78 63 65 | 70 74 69 6f 6e 44 69 73 |see Exce|ptionDis|
|00001510| 70 61 74 63 68 65 72 74 | 61 73 6b 20 64 6f 63 75 |patchert|ask docu|
|00001520| 6d 65 6e 74 61 74 69 6f | 6e 20 62 65 6c 6f 77 29 |mentatio|n below)|
|00001530| 2c 20 74 68 65 20 65 78 | 63 65 70 74 69 6f 6e 20 |, the ex|ception |
|00001540| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 74 68 72 6f |will not| be thro|
|00001550| 77 6e 20 61 6e 64 20 74 | 68 65 20 72 65 66 65 72 |wn and t|he refer|
|00001560| 65 6e 63 65 64 20 74 61 | 73 6b 20 77 69 6c 6c 20 |enced ta|sk will |
|00001570| 62 65 20 63 61 6c 6c 65 | 64 2e 0d 47 6c 6f 62 61 |be calle|d..Globa|
|00001580| 6c 20 67 45 78 63 65 70 | 74 69 6f 6e 4c 69 73 74 |l gExcep|tionList|
|00001590| 0d 53 50 45 43 20 53 26 | 4c 20 31 2e 32 20 65 78 |.SPEC S&|L 1.2 ex|
|000015a0| 63 65 70 74 69 6f 6e 20 | 68 61 6e 64 6c 69 6e 67 |ception |handling|
|000015b0| 20 62 65 68 61 76 69 6f | 72 20 69 73 20 63 6f 6e | behavio|r is con|
|000015c0| 74 72 6f 6c 6c 65 64 20 | 62 79 20 74 68 65 20 67 |trolled |by the g|
|000015d0| 6c 6f 62 61 6c 20 67 45 | 78 63 65 70 74 69 6f 6e |lobal gE|xception|
|000015e0| 4c 69 73 74 2c 20 77 68 | 69 63 68 20 69 73 20 61 |List, wh|ich is a|
|000015f0| 20 6c 69 73 74 20 6f 66 | 20 65 78 63 65 70 74 69 | list of| excepti|
|00001600| 6f 6e 20 63 6f 64 65 73 | 20 61 6e 64 20 74 68 65 |on codes| and the|
|00001610| 69 72 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |ir corre|sponding|
|00001620| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|00001630| 65 72 73 2e 20 20 54 68 | 65 20 64 65 66 61 75 6c |ers. Th|e defaul|
|00001640| 74 20 67 45 78 63 65 70 | 74 69 6f 6e 4c 69 73 74 |t gExcep|tionList|
|00001650| 20 77 68 69 63 68 20 73 | 68 69 70 73 20 77 69 74 | which s|hips wit|
|00001660| 68 20 53 50 45 43 20 53 | 26 4c 20 69 73 20 64 65 |h SPEC S|&L is de|
|00001670| 66 69 6e 65 64 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |fined as| follows|
|00001680| 3a 0d 45 78 63 65 70 74 | 69 6f 6e 20 43 6f 64 65 |:.Except|ion Code|
|00001690| 0d 54 68 69 73 20 72 65 | 66 65 72 73 20 74 6f 20 |.This re|fers to |
|000016a0| 74 68 65 20 63 6f 64 65 | 20 6f 66 20 74 68 65 20 |the code| of the |
|000016b0| 65 78 63 65 70 74 69 6f | 6e 20 74 6f 20 62 65 20 |exceptio|n to be |
|000016c0| 68 61 6e 64 6c 65 64 2e | 20 20 49 74 20 63 61 6e |handled.| It can|
|000016d0| 20 62 65 20 61 6e 79 20 | 6f 66 20 74 68 65 20 56 | be any |of the V|
|000016e0| 55 20 65 78 63 65 70 74 | 69 6f 6e 20 63 6f 64 65 |U except|ion code|
|000016f0| 73 20 28 73 65 65 20 22 | 56 55 20 6d 61 6e 75 61 |s (see "|VU manua|
|00001700| 6c 22 29 20 6f 72 20 61 | 6e 79 20 6f 66 20 74 68 |l") or a|ny of th|
|00001710| 65 20 22 73 70 65 63 69 | 61 6c 22 20 53 50 45 43 |e "speci|al" SPEC|
|00001720| 20 53 26 4c 20 65 78 63 | 65 70 74 69 6f 6e 20 63 | S&L exc|eption c|
|00001730| 6f 64 65 73 20 64 65 66 | 69 6e 65 64 20 61 73 20 |odes def|ined as |
|00001740| 66 6f 6c 6c 6f 77 73 3a | 0d 22 61 6c 6c 22 20 2d |follows:|."all" -|
|00001750| 20 68 61 6e 64 6c 65 73 | 20 61 6c 6c 20 65 78 63 | handles| all exc|
|00001760| 65 70 74 69 6f 6e 20 63 | 6f 64 65 73 2e 20 20 4f |eption c|odes. O|
|00001770| 76 65 72 72 69 64 65 73 | 20 61 6e 79 20 6f 74 68 |verrides| any oth|
|00001780| 65 72 20 65 78 63 65 70 | 74 69 6f 6e 20 63 6f 64 |er excep|tion cod|
|00001790| 65 20 61 6e 64 20 63 6f | 72 72 65 73 70 6f 6e 64 |e and co|rrespond|
|000017a0| 69 6e 67 20 65 78 63 65 | 70 74 69 6f 6e 20 68 61 |ing exce|ption ha|
|000017b0| 6e 64 6c 65 72 2e 0d 22 | 61 6c 6c 4e 6f 6e 54 68 |ndler.."|allNonTh|
|000017c0| 72 6f 77 6e 22 20 2d 20 | 4f 76 65 72 72 69 64 65 |rown" - |Override|
|000017d0| 73 20 61 6e 64 20 68 61 | 6e 64 6c 65 73 20 61 6c |s and ha|ndles al|
|000017e0| 6c 20 65 78 63 65 70 74 | 69 6f 6e 20 63 6f 64 65 |l except|ion code|
|000017f0| 73 20 66 6f 72 20 77 68 | 69 63 68 20 74 68 65 20 |s for wh|ich the |
|00001800| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 65 78 |correspo|nding ex|
|00001810| 63 65 70 74 69 6f 6e 20 | 68 61 6e 64 6c 65 72 27 |ception |handler'|
|00001820| 73 20 54 68 72 6f 77 20 | 46 6c 61 67 20 69 73 20 |s Throw |Flag is |
|00001830| 73 65 74 20 6f 66 66 2e | 0d 22 61 6c 6c 54 68 72 |set off.|."allThr|
|00001840| 6f 77 6e 22 20 2d 20 4f | 76 65 72 72 69 64 65 73 |own" - O|verrides|
|00001850| 20 61 6e 64 20 68 61 6e | 64 6c 65 73 20 61 6c 6c | and han|dles all|
|00001860| 20 65 78 63 65 70 74 69 | 6f 6e 20 63 6f 64 65 73 | excepti|on codes|
|00001870| 20 66 6f 72 20 77 68 69 | 63 68 20 74 68 65 20 63 | for whi|ch the c|
|00001880| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 65 78 63 |orrespon|ding exc|
|00001890| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 65 72 27 73 |eption h|andler's|
|000018a0| 20 54 68 72 6f 77 20 46 | 6c 61 67 20 69 73 20 73 | Throw F|lag is s|
|000018b0| 65 74 20 6f 6e 2e 0d 22 | 64 65 66 61 75 6c 74 22 |et on.."|default"|
|000018c0| 20 2d 20 68 61 6e 64 6c | 65 73 20 61 6e 79 20 65 | - handl|es any e|
|000018d0| 78 63 65 70 74 69 6f 6e | 20 63 6f 64 65 73 20 77 |xception| codes w|
|000018e0| 68 69 63 68 20 61 72 65 | 6e 27 74 20 68 61 6e 64 |hich are|n't hand|
|000018f0| 6c 65 64 20 62 79 20 61 | 6e 79 20 6f 74 68 65 72 |led by a|ny other|
|00001900| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|00001910| 65 72 2e 0d 49 66 20 64 | 65 73 69 72 65 64 2c 20 |er..If d|esired, |
|00001920| 61 20 73 63 72 69 70 74 | 20 64 65 76 65 6c 6f 70 |a script| develop|
|00001930| 65 72 20 63 61 6e 20 64 | 65 76 65 6c 6f 70 20 61 |er can d|evelop a|
|00001940| 6e 64 20 74 68 72 6f 77 | 20 61 64 64 69 74 69 6f |nd throw| additio|
|00001950| 6e 61 6c 20 22 63 75 73 | 74 6f 6d 22 20 65 78 63 |nal "cus|tom" exc|
|00001960| 65 70 74 69 6f 6e 20 63 | 6f 64 65 73 20 66 72 6f |eption c|odes fro|
|00001970| 6d 20 68 69 73 2f 68 65 | 72 20 73 63 72 69 70 74 |m his/he|r script|
|00001980| 73 2c 20 68 6f 77 65 76 | 65 72 20 74 68 65 20 73 |s, howev|er the s|
|00001990| 63 72 69 70 74 20 64 65 | 76 65 6c 6f 70 65 72 20 |cript de|veloper |
|000019a0| 6d 75 73 74 20 6d 6f 64 | 69 66 79 20 74 68 65 20 |must mod|ify the |
|000019b0| 67 6c 6f 62 61 6c 20 67 | 45 78 63 65 70 74 69 6f |global g|Exceptio|
|000019c0| 6e 4c 69 73 74 20 74 6f | 20 68 61 6e 64 6c 65 20 |nList to| handle |
|000019d0| 74 68 65 6d 20 61 73 20 | 64 65 73 63 72 69 62 65 |them as |describe|
|000019e0| 64 20 69 6e 20 74 68 65 | 20 4d 6f 64 69 66 79 69 |d in the| Modifyi|
|000019f0| 6e 67 20 67 45 78 63 65 | 70 74 69 6f 6e 4c 69 73 |ng gExce|ptionLis|
|00001a00| 74 20 73 65 63 74 69 6f | 6e 20 62 65 6c 6f 77 2e |t sectio|n below.|
|00001a10| 0d 45 78 63 65 70 74 69 | 6f 6e 20 48 61 6e 64 6c |.Excepti|on Handl|
|00001a20| 65 72 0d 53 65 65 20 45 | 78 63 65 70 74 69 6f 6e |er.See E|xception|
|00001a30| 20 48 61 6e 64 6c 65 72 | 20 73 65 63 74 69 6f 6e | Handler| section|
|00001a40| 20 61 62 6f 76 65 2e 0d | 4d 6f 64 69 66 79 69 6e | above..|Modifyin|
|00001a50| 67 20 67 45 78 63 65 70 | 74 69 6f 6e 4c 69 73 74 |g gExcep|tionList|
|00001a60| 0d 54 68 65 20 64 65 66 | 61 75 6c 74 20 67 45 78 |.The def|ault gEx|
|00001a70| 63 65 70 74 69 6f 6e 4c | 69 73 74 20 64 65 66 69 |ceptionL|ist defi|
|00001a80| 6e 65 73 20 65 78 63 65 | 70 74 69 6f 6e 20 68 61 |nes exce|ption ha|
|00001a90| 6e 64 6c 65 72 73 20 66 | 6f 72 20 74 61 72 67 65 |ndlers f|or targe|
|00001aa0| 74 20 63 72 61 73 68 65 | 73 20 28 2d 31 31 30 30 |t crashe|s (-1100|
|00001ab0| 29 2c 20 74 61 72 67 65 | 74 20 72 65 73 74 61 72 |), targe|t restar|
|00001ac0| 74 73 20 28 2d 31 30 39 | 36 29 2c 20 61 6e 64 20 |ts (-109|6), and |
|00001ad0| 6f 74 68 65 72 20 65 78 | 63 65 70 74 69 6f 6e 73 |other ex|ceptions|
|00001ae0| 20 28 27 44 65 66 61 75 | 6c 74 27 29 2e 20 20 54 | ('Defau|lt'). T|
|00001af0| 6f 20 63 75 73 74 6f 6d | 69 7a 65 20 65 78 63 65 |o custom|ize exce|
|00001b00| 70 74 69 6f 6e 20 68 61 | 6e 64 6c 69 6e 67 20 62 |ption ha|ndling b|
|00001b10| 65 68 61 76 69 6f 72 2c | 20 74 68 65 20 67 45 78 |ehavior,| the gEx|
|00001b20| 63 65 70 74 69 6f 6e 4c | 69 73 74 20 63 61 6e 20 |ceptionL|ist can |
|00001b30| 62 65 20 6d 6f 64 69 66 | 69 65 64 20 62 79 20 65 |be modif|ied by e|
|00001b40| 69 74 68 65 72 3a 20 20 | 31 29 20 72 65 64 65 66 |ither: |1) redef|
|00001b50| 69 6e 69 6e 67 20 69 74 | 20 6f 72 20 32 29 20 61 |ining it| or 2) a|
|00001b60| 64 64 69 6e 67 20 6f 72 | 20 72 65 6d 6f 76 69 6e |dding or| removin|
|00001b70| 67 20 70 61 69 72 73 20 | 6f 66 20 65 78 63 65 70 |g pairs |of excep|
|00001b80| 74 69 6f 6e 20 63 6f 64 | 65 73 20 61 6e 64 20 74 |tion cod|es and t|
|00001b90| 68 65 69 72 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 |heir cor|respondi|
|00001ba0| 6e 67 20 65 78 63 65 70 | 74 69 6f 6e 20 68 61 6e |ng excep|tion han|
|00001bb0| 64 6c 65 72 73 2e 0d 52 | 65 64 65 66 69 6e 69 6e |dlers..R|edefinin|
|00001bc0| 67 20 67 45 78 63 65 70 | 74 69 6f 6e 4c 69 73 74 |g gExcep|tionList|
|00001bd0| 0d 54 68 69 73 20 6d 65 | 74 68 6f 64 20 69 73 20 |.This me|thod is |
|00001be0| 6e 6f 74 20 72 65 63 6f | 6d 6d 65 6e 64 20 73 69 |not reco|mmend si|
|00001bf0| 6e 63 65 20 69 74 20 6f | 76 65 72 72 69 64 65 73 |nce it o|verrides|
|00001c00| 20 61 6c 6c 20 64 65 66 | 61 75 6c 74 20 65 78 63 | all def|ault exc|
|00001c10| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 69 6e 67 20 |eption h|andling |
|00001c20| 6d 65 63 68 61 6e 69 73 | 6d 73 2e 20 20 48 6f 77 |mechanis|ms. How|
|00001c30| 65 76 65 72 2c 20 69 66 | 20 74 68 69 73 20 69 73 |ever, if| this is|
|00001c40| 20 74 68 65 20 64 65 73 | 69 72 65 64 20 72 65 73 | the des|ired res|
|00001c50| 75 6c 74 2c 20 69 74 20 | 63 61 6e 20 62 65 20 61 |ult, it |can be a|
|00001c60| 63 63 6f 6d 70 6c 69 73 | 68 65 64 20 76 69 61 20 |ccomplis|hed via |
|00001c70| 74 68 65 20 6d 65 74 68 | 6f 64 73 20 61 73 20 64 |the meth|ods as d|
|00001c80| 65 73 63 72 69 62 65 64 | 20 69 6e 20 74 68 65 20 |escribed| in the |
|00001c90| 4d 6f 64 69 66 79 69 6e | 67 20 47 6c 6f 62 61 6c |Modifyin|g Global|
|00001ca0| 73 20 73 65 63 74 69 6f | 6e 20 6f 6e 20 70 61 67 |s sectio|n on pag|
|00001cb0| 65 20 31 31 2e 0d 41 64 | 64 69 6e 67 20 74 6f 20 |e 11..Ad|ding to |
|00001cc0| 61 6e 64 20 72 65 6d 6f | 76 69 6e 67 20 66 72 6f |and remo|ving fro|
|00001cd0| 6d 20 74 68 65 20 67 45 | 78 63 65 70 74 69 6f 6e |m the gE|xception|
|00001ce0| 4c 69 73 74 0d 54 68 69 | 73 20 69 73 20 74 68 65 |List.Thi|s is the|
|00001cf0| 20 72 65 63 6f 6d 6d 65 | 6e 64 65 64 20 6d 65 74 | recomme|nded met|
|00001d00| 68 6f 64 20 66 6f 72 20 | 63 75 73 74 6f 6d 69 7a |hod for |customiz|
|00001d10| 69 6e 67 20 53 50 45 43 | 20 53 26 4c 20 65 78 63 |ing SPEC| S&L exc|
|00001d20| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 69 6e 67 2e |eption h|andling.|
|00001d30| 20 20 54 77 6f 20 74 61 | 73 6b 73 2c 20 41 64 64 | Two ta|sks, Add|
|00001d40| 45 78 63 65 70 74 69 6f | 6e 48 61 6e 64 6c 65 72 |Exceptio|nHandler|
|00001d50| 28 29 20 61 6e 64 20 52 | 65 6d 6f 76 65 45 78 63 |() and R|emoveExc|
|00001d60| 65 70 74 69 6f 6e 48 61 | 6e 64 6c 65 72 28 29 2c |eptionHa|ndler(),|
|00001d70| 20 61 6c 6c 6f 77 20 61 | 20 73 63 72 69 70 74 65 | allow a| scripte|
|00001d80| 72 20 74 6f 20 61 64 64 | 20 61 6e 64 20 72 65 6d |r to add| and rem|
|00001d90| 6f 76 65 20 65 78 63 65 | 70 74 69 6f 6e 20 63 6f |ove exce|ption co|
|00001da0| 64 65 73 20 61 6e 64 20 | 74 68 65 69 72 20 63 6f |des and |their co|
|00001db0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 65 78 63 65 |rrespond|ing exce|
|00001dc0| 70 74 69 6f 6e 20 68 61 | 6e 64 6c 65 72 73 20 66 |ption ha|ndlers f|
|00001dd0| 72 6f 6d 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 67 |rom the |global g|
|00001de0| 45 78 63 65 70 74 69 6f | 6e 4c 69 73 74 20 61 66 |Exceptio|nList af|
|00001df0| 74 65 72 20 49 6e 69 74 | 47 6c 6f 62 61 6c 73 28 |ter Init|Globals(|
|00001e00| 29 20 68 61 73 20 62 65 | 65 6e 20 63 61 6c 6c 65 |) has be|en calle|
|00001e10| 64 2e 20 20 54 6f 20 69 | 6c 6c 75 73 74 72 61 74 |d. To i|llustrat|
|00001e20| 65 20 74 68 65 69 72 20 | 75 73 61 67 65 2c 20 61 |e their |usage, a|
|00001e30| 73 73 75 6d 65 20 74 68 | 65 20 73 63 72 69 70 74 |ssume th|e script|
|00001e40| 20 64 65 76 65 6c 6f 70 | 65 72 20 64 65 73 69 72 | develop|er desir|
|00001e50| 65 73 20 74 6f 20 63 61 | 6c 6c 20 3c 6d 79 20 74 |es to ca|ll <my t|
|00001e60| 61 73 6b 3e 20 74 6f 20 | 68 61 6e 64 6c 65 20 74 |ask> to |handle t|
|00001e70| 68 65 20 65 78 63 65 70 | 74 69 6f 6e 20 63 6f 64 |he excep|tion cod|
|00001e80| 65 20 3c 6d 79 20 65 78 | 63 65 70 74 69 6f 6e 20 |e <my ex|ception |
|00001e90| 63 6f 64 65 3e 2c 20 61 | 6e 64 20 74 68 65 20 64 |code>, a|nd the d|
|00001ea0| 65 66 61 75 6c 74 20 67 | 45 78 63 65 70 74 69 6f |efault g|Exceptio|
|00001eb0| 6e 4c 69 73 74 20 69 73 | 20 64 65 66 69 6e 65 64 |nList is| defined|
|00001ec0| 20 69 6e 20 49 6e 69 74 | 47 6c 6f 62 61 6c 73 28 | in Init|Globals(|
|00001ed0| 29 20 61 73 3a 0d 7b 0d | 09 7b 2d 31 31 30 30 2c |) as:.{.|.{-1100,|
|00001ee0| 20 7b 74 61 73 6b 20 43 | 72 61 73 68 48 61 6e 64 | {task C|rashHand|
|00001ef0| 6c 65 72 2c 20 7b 31 2c | 31 2c 31 2c 31 2c 31 7d |ler, {1,|1,1,1,1}|
|00001f00| 2c 31 7d 7d 2c 0d 09 7b | 27 44 65 66 61 75 6c 74 |,1}},..{|'Default|
|00001f10| 27 2c 20 7b 74 61 73 6b | 20 44 65 66 61 75 6c 74 |', {task| Default|
|00001f20| 45 78 63 65 70 74 69 6f | 6e 48 61 6e 64 6c 65 72 |Exceptio|nHandler|
|00001f30| 2c 20 7b 31 7d 2c 30 7d | 7d 0d 7d 0d 54 68 65 20 |, {1},0}|}.}.The |
|00001f40| 73 63 72 69 70 74 20 64 | 65 76 65 6c 6f 70 65 72 |script d|eveloper|
|00001f50| 20 77 6f 75 6c 64 20 6e | 65 65 64 20 74 6f 20 63 | would n|eed to c|
|00001f60| 61 6c 6c 20 41 64 64 45 | 78 63 65 70 74 69 6f 6e |all AddE|xception|
|00001f70| 48 61 6e 64 6c 65 72 28 | 29 20 69 6e 20 68 69 73 |Handler(|) in his|
|00001f80| 2f 68 65 72 20 73 63 72 | 69 70 74 20 69 6d 6d 65 |/her scr|ipt imme|
|00001f90| 64 69 61 74 65 6c 79 20 | 62 65 66 6f 72 65 20 74 |diately |before t|
|00001fa0| 68 65 20 63 75 73 74 6f | 6d 20 65 78 63 65 70 74 |he custo|m except|
|00001fb0| 69 6f 6e 20 68 61 6e 64 | 6c 69 6e 67 20 62 65 68 |ion hand|ling beh|
|00001fc0| 61 76 69 6f 72 20 69 73 | 20 72 65 71 75 69 72 65 |avior is| require|
|00001fd0| 64 2c 20 61 73 20 66 6f | 6c 6c 6f 77 73 3a 0d 49 |d, as fo|llows:.I|
|00001fe0| 6e 69 74 47 6c 6f 62 61 | 6c 73 28 29 3b 0d 09 2e |nitGloba|ls();...|
|00001ff0| 0d 09 2e 0d 09 2e 0d 28 | 64 65 66 61 75 6c 74 20 |.......(|default |
|00002000| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 69 |exceptio|n handli|
|00002010| 6e 67 20 62 65 68 61 76 | 69 6f 72 20 64 65 73 69 |ng behav|ior desi|
|00002020| 72 65 64 20 68 65 72 65 | 29 0d 09 2e 0d 09 2e 0d |red here|).......|
|00002030| 09 2e 0d 41 64 64 45 78 | 63 65 70 74 69 6f 6e 48 |...AddEx|ceptionH|
|00002040| 61 6e 64 6c 65 72 28 3c | 6d 79 20 65 78 63 65 70 |andler(<|my excep|
|00002050| 74 69 6f 6e 20 63 6f 64 | 65 3e 2c 20 7b 74 61 73 |tion cod|e>, {tas|
|00002060| 6b 20 3c 6d 79 20 74 61 | 73 6b 3e 2c 20 3c 6d 79 |k <my ta|sk>, <my|
|00002070| 20 74 61 73 6b 20 70 61 | 72 61 6d 65 74 65 72 3e | task pa|rameter>|
|00002080| 2c 31 7d 29 3b 0d 09 2e | 0d 09 2e 0d 09 2e 0d 28 |,1});...|.......(|
|00002090| 63 75 73 74 6f 6d 20 65 | 78 63 65 70 74 69 6f 6e |custom e|xception|
|000020a0| 20 68 61 6e 64 6c 69 6e | 67 20 62 65 68 61 76 69 | handlin|g behavi|
|000020b0| 6f 72 20 64 65 73 69 72 | 65 64 20 68 65 72 65 29 |or desir|ed here)|
|000020c0| 0d 09 2e 0d 09 2e 0d 41 | 66 74 65 72 20 41 64 64 |.......A|fter Add|
|000020d0| 45 78 63 65 70 74 69 6f | 6e 48 61 6e 64 6c 65 72 |Exceptio|nHandler|
|000020e0| 20 69 73 20 63 61 6c 6c | 65 64 2c 20 74 68 65 20 | is call|ed, the |
|000020f0| 67 6c 6f 62 61 6c 20 67 | 45 78 63 65 70 74 69 6f |global g|Exceptio|
|00002100| 6e 4c 69 73 74 20 62 65 | 63 6f 6d 65 73 3a 0d 7b |nList be|comes:.{|
|00002110| 0d 09 7b 3c 6d 79 20 65 | 78 63 65 70 74 69 6f 6e |..{<my e|xception|
|00002120| 20 63 6f 64 65 3e 2c 20 | 7b 74 61 73 6b 20 3c 6d | code>, |{task <m|
|00002130| 79 20 74 61 73 6b 3e 2c | 20 3c 6d 79 20 74 61 73 |y task>,| <my tas|
|00002140| 6b 20 70 61 72 61 6d 65 | 74 65 72 3e 2c 31 7d 7d |k parame|ter>,1}}|
|00002150| 2c 0d 09 7b 2d 31 31 30 | 30 2c 20 7b 74 61 73 6b |,..{-110|0, {task|
|00002160| 20 43 72 61 73 68 48 61 | 6e 64 6c 65 72 2c 20 7b | CrashHa|ndler, {|
|00002170| 31 2c 31 2c 31 2c 31 2c | 31 7d 2c 31 7d 7d 2c 0d |1,1,1,1,|1},1}},.|
|00002180| 09 7b 27 44 65 66 61 75 | 6c 74 27 2c 20 7b 74 61 |.{'Defau|lt', {ta|
|00002190| 73 6b 20 44 65 66 61 75 | 6c 74 45 78 63 65 70 74 |sk Defau|ltExcept|
|000021a0| 69 6f 6e 48 61 6e 64 6c | 65 72 2c 20 7b 31 7d 2c |ionHandl|er, {1},|
|000021b0| 30 7d 7d 0d 7d 0d 54 68 | 65 20 6e 65 77 20 65 78 |0}}.}.Th|e new ex|
|000021c0| 63 65 70 74 69 6f 6e 20 | 63 6f 64 65 2f 68 61 6e |ception |code/han|
|000021d0| 64 6c 65 72 20 70 61 69 | 72 20 77 61 73 20 69 6e |dler pai|r was in|
|000021e0| 73 65 72 74 65 64 20 61 | 73 20 74 68 65 20 74 6f |serted a|s the to|
|000021f0| 70 6d 6f 73 74 20 69 74 | 65 6d 20 69 6e 20 74 68 |pmost it|em in th|
|00002200| 65 20 67 45 78 63 65 70 | 74 69 6f 6e 4c 69 73 74 |e gExcep|tionList|
|00002210| 20 2e 20 20 49 74 20 63 | 61 6e 20 63 6f 6e 74 61 | . It c|an conta|
|00002220| 69 6e 20 61 6e 79 20 65 | 78 63 65 70 74 69 6f 6e |in any e|xception|
|00002230| 20 63 6f 64 65 20 2d 20 | 69 6e 63 6c 75 64 69 6e | code - |includin|
|00002240| 67 20 74 68 6f 73 65 20 | 77 68 69 63 68 20 61 72 |g those |which ar|
|00002250| 65 20 61 6c 72 65 61 64 | 79 20 64 65 66 69 6e 65 |e alread|y define|
|00002260| 64 20 69 6e 20 74 68 65 | 20 67 45 78 63 65 70 74 |d in the| gExcept|
|00002270| 69 6f 6e 4c 69 73 74 2e | 20 20 54 68 65 20 74 6f |ionList.| The to|
|00002280| 70 6d 6f 73 74 20 6f 63 | 63 75 72 61 6e 63 65 20 |pmost oc|curance |
|00002290| 6f 66 20 74 68 65 20 65 | 78 63 65 70 74 69 6f 6e |of the e|xception|
|000022a0| 20 63 6f 64 65 20 69 6e | 20 74 68 65 20 67 45 78 | code in| the gEx|
|000022b0| 63 65 70 74 69 6f 6e 4c | 69 73 74 20 69 73 20 67 |ceptionL|ist is g|
|000022c0| 69 76 65 6e 20 70 72 69 | 6f 72 69 74 79 2e 20 20 |iven pri|ority. |
|000022d0| 49 6e 20 74 68 65 20 61 | 62 6f 76 65 20 65 78 61 |In the a|bove exa|
|000022e0| 6d 70 6c 65 2c 20 69 66 | 20 3c 6d 79 20 65 78 63 |mple, if| <my exc|
|000022f0| 65 70 74 69 6f 6e 20 63 | 6f 64 65 3e 20 77 61 73 |eption c|ode> was|
|00002300| 20 2d 31 31 30 30 2c 20 | 69 74 20 77 6f 75 6c 64 | -1100, |it would|
|00002310| 20 6f 76 65 72 72 69 64 | 65 20 74 68 65 20 70 72 | overrid|e the pr|
|00002320| 65 76 69 6f 75 73 6c 79 | 20 64 65 66 69 6e 65 64 |eviously| defined|
|00002330| 20 2d 31 31 30 30 20 65 | 78 63 65 70 74 69 6f 6e | -1100 e|xception|
|00002340| 20 63 6f 64 65 2f 68 61 | 6e 64 6c 65 72 20 70 61 | code/ha|ndler pa|
|00002350| 69 72 2c 20 77 68 69 63 | 68 20 69 73 20 6c 6f 77 |ir, whic|h is low|
|00002360| 65 72 20 69 6e 20 74 68 | 65 20 67 45 78 63 65 70 |er in th|e gExcep|
|00002370| 74 69 6f 6e 4c 69 73 74 | 2e 0d 57 68 65 6e 20 61 |tionList|..When a|
|00002380| 20 72 65 74 75 72 6e 20 | 74 6f 20 64 65 66 61 75 | return |to defau|
|00002390| 6c 74 20 65 78 63 65 70 | 74 69 6f 6e 20 68 61 6e |lt excep|tion han|
|000023a0| 64 6c 69 6e 67 20 62 65 | 68 61 76 69 6f 72 20 69 |dling be|havior i|
|000023b0| 73 20 64 65 73 69 72 65 | 64 2c 20 74 68 65 20 73 |s desire|d, the s|
|000023c0| 63 72 69 70 74 6f 72 20 | 73 68 6f 75 6c 64 20 72 |criptor |should r|
|000023d0| 65 6d 6f 76 65 20 74 68 | 65 20 63 75 73 74 6f 6d |emove th|e custom|
|000023e0| 20 65 78 63 65 70 74 69 | 6f 6e 20 63 6f 64 65 2f | excepti|on code/|
|000023f0| 68 61 6e 64 6c 65 72 20 | 70 61 69 72 20 62 79 20 |handler |pair by |
|00002400| 63 61 6c 6c 69 6e 67 20 | 52 65 6d 6f 76 65 45 78 |calling |RemoveEx|
|00002410| 63 65 70 74 69 6f 6e 48 | 61 6e 64 6c 65 72 28 29 |ceptionH|andler()|
|00002420| 20 77 69 74 68 20 74 68 | 65 20 65 78 63 65 70 74 | with th|e except|
|00002430| 69 6f 6e 20 63 6f 64 65 | 20 74 6f 20 62 65 20 72 |ion code| to be r|
|00002440| 65 6d 6f 76 65 64 2c 20 | 61 73 20 66 6f 6c 6c 6f |emoved, |as follo|
|00002450| 77 73 3a 0d 09 2e 0d 09 | 2e 0d 09 2e 0d 28 63 75 |ws:.....|.....(cu|
|00002460| 73 74 6f 6d 20 65 78 63 | 65 70 74 69 6f 6e 20 68 |stom exc|eption h|
|00002470| 61 6e 64 6c 69 6e 67 20 | 62 65 68 61 76 69 6f 72 |andling |behavior|
|00002480| 20 69 73 20 69 6e 20 65 | 66 66 65 63 74 20 68 65 | is in e|ffect he|
|00002490| 72 65 29 0d 09 2e 0d 09 | 2e 0d 09 2e 0d 52 65 6d |re).....|.....Rem|
|000024a0| 6f 76 65 45 78 63 65 70 | 74 69 6f 6e 48 61 6e 64 |oveExcep|tionHand|
|000024b0| 6c 65 72 28 3c 6d 79 20 | 65 78 63 65 70 74 69 6f |ler(<my |exceptio|
|000024c0| 6e 20 63 6f 64 65 3e 29 | 3b 0d 09 2e 0d 09 2e 0d |n code>)|;.......|
|000024d0| 09 2e 0d 28 64 65 66 61 | 75 6c 74 20 65 78 63 65 |...(defa|ult exce|
|000024e0| 70 74 69 6f 6e 20 68 61 | 6e 64 6c 69 6e 67 20 62 |ption ha|ndling b|
|000024f0| 65 68 61 76 69 6f 72 20 | 64 65 73 69 72 65 64 20 |ehavior |desired |
|00002500| 68 65 72 65 29 0d 09 2e | 0d 09 2e 0d 09 2e 0d 41 |here)...|.......A|
|00002510| 66 74 65 72 20 52 65 6d | 6f 76 65 45 78 63 65 70 |fter Rem|oveExcep|
|00002520| 74 69 6f 6e 48 61 6e 64 | 6c 65 72 28 29 20 69 73 |tionHand|ler() is|
|00002530| 20 63 61 6c 6c 65 64 2c | 20 74 68 65 20 67 6c 6f | called,| the glo|
|00002540| 62 61 6c 20 67 45 78 63 | 65 70 74 69 6f 6e 4c 69 |bal gExc|eptionLi|
|00002550| 73 74 20 72 65 74 75 72 | 6e 73 20 74 6f 20 74 68 |st retur|ns to th|
|00002560| 65 20 6f 72 69 67 69 6e | 61 6c 20 66 6f 72 6d 3a |e origin|al form:|
|00002570| 0d 7b 0d 09 7b 2d 31 31 | 30 30 2c 20 7b 74 61 73 |.{..{-11|00, {tas|
|00002580| 6b 20 43 72 61 73 68 48 | 61 6e 64 6c 65 72 2c 20 |k CrashH|andler, |
|00002590| 7b 31 2c 31 2c 31 2c 31 | 2c 31 7d 2c 31 7d 7d 2c |{1,1,1,1|,1},1}},|
|000025a0| 0d 09 7b 27 44 65 66 61 | 75 6c 74 27 2c 20 7b 74 |..{'Defa|ult', {t|
|000025b0| 61 73 6b 20 44 65 66 61 | 75 6c 74 45 78 63 65 70 |ask Defa|ultExcep|
|000025c0| 74 69 6f 6e 48 61 6e 64 | 6c 65 72 2c 20 7b 31 7d |tionHand|ler, {1}|
|000025d0| 2c 30 7d 7d 0d 7d 0d 49 | 66 20 67 45 78 63 65 70 |,0}}.}.I|f gExcep|
|000025e0| 74 69 6f 6e 4c 69 73 74 | 20 68 61 64 20 63 6f 6e |tionList| had con|
|000025f0| 74 61 69 6e 65 64 20 6d | 75 6c 74 69 70 6c 65 20 |tained m|ultiple |
|00002600| 69 6e 73 74 61 6e 63 65 | 73 20 6f 66 20 74 68 65 |instance|s of the|
|00002610| 20 73 61 6d 65 20 65 78 | 63 65 70 74 69 6f 6e 20 | same ex|ception |
|00002620| 63 6f 64 65 2c 20 74 68 | 65 20 74 6f 70 6d 6f 73 |code, th|e topmos|
|00002630| 74 20 69 6e 73 74 61 6e | 63 65 20 77 6f 75 6c 64 |t instan|ce would|
|00002640| 20 68 61 76 65 20 62 65 | 65 6e 20 72 65 6d 6f 76 | have be|en remov|
|00002650| 65 64 2e 0d 57 68 65 6e | 20 63 75 73 74 6f 6d 20 |ed..When| custom |
|00002660| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 69 |exceptio|n handli|
|00002670| 6e 67 20 62 65 68 61 76 | 69 6f 72 20 69 73 20 64 |ng behav|ior is d|
|00002680| 65 73 69 72 65 64 20 66 | 6f 72 20 6d 6f 72 65 20 |esired f|or more |
|00002690| 74 68 61 6e 20 6f 6e 65 | 20 65 78 63 65 70 74 69 |than one| excepti|
|000026a0| 6f 6e 20 63 6f 64 65 2c | 20 41 64 64 45 78 63 65 |on code,| AddExce|
|000026b0| 70 74 69 6f 6e 48 61 6e | 64 6c 65 72 28 29 2c 20 |ptionHan|dler(), |
|000026c0| 61 6e 64 20 52 65 6d 6f | 76 65 45 78 63 65 70 74 |and Remo|veExcept|
|000026d0| 69 6f 6e 48 61 6e 64 6c | 65 72 28 29 20 77 69 6c |ionHandl|er() wil|
|000026e0| 6c 20 68 61 76 65 20 74 | 6f 20 62 65 20 63 61 6c |l have t|o be cal|
|000026f0| 6c 65 64 20 6d 75 6c 74 | 69 70 6c 65 20 74 69 6d |led mult|iple tim|
|00002700| 65 73 2e 0d 49 74 20 69 | 73 20 62 65 79 6f 6e 64 |es..It i|s beyond|
|00002710| 20 74 68 65 20 73 63 6f | 70 65 20 6f 66 20 74 68 | the sco|pe of th|
|00002720| 65 20 53 50 45 43 20 53 | 26 4c 20 6c 69 62 72 61 |e SPEC S|&L libra|
|00002730| 72 69 65 73 20 74 6f 20 | 73 65 6c 66 20 64 69 61 |ries to |self dia|
|00002740| 67 6e 6f 73 65 20 61 6e | 79 20 70 72 6f 62 6c 65 |gnose an|y proble|
|00002750| 6d 73 20 63 61 75 73 65 | 64 20 62 79 20 61 6e 20 |ms cause|d by an |
|00002760| 65 72 72 6f 6e 65 6f 75 | 73 6c 79 20 6d 6f 64 69 |erroneou|sly modi|
|00002770| 66 69 65 64 20 67 6c 6f | 62 61 6c 20 67 45 78 63 |fied glo|bal gExc|
|00002780| 65 70 74 69 6f 6e 4c 69 | 73 74 2e 20 20 54 68 65 |eptionLi|st. The|
|00002790| 72 65 66 6f 72 65 2c 20 | 69 66 20 63 75 73 74 6f |refore, |if custo|
|000027a0| 6d 20 65 78 63 65 70 74 | 69 6f 6e 20 68 61 6e 64 |m except|ion hand|
|000027b0| 6c 69 6e 67 20 62 65 68 | 61 76 69 6f 72 20 69 73 |ling beh|avior is|
|000027c0| 20 64 65 73 69 72 65 64 | 2c 20 69 74 20 69 73 20 | desired|, it is |
|000027d0| 74 68 65 20 72 65 73 70 | 6f 6e 73 69 62 69 6c 69 |the resp|onsibili|
|000027e0| 74 79 20 6f 66 20 74 68 | 65 20 73 63 72 69 70 74 |ty of th|e script|
|000027f0| 6f 72 20 74 6f 20 6d 61 | 69 6e 74 61 69 6e 20 74 |or to ma|intain t|
|00002800| 68 65 20 69 6e 74 65 67 | 72 69 74 79 20 6f 66 20 |he integ|rity of |
|00002810| 74 68 65 20 67 45 78 63 | 65 70 74 69 6f 6e 4c 69 |the gExc|eptionLi|
|00002820| 73 74 20 62 79 20 61 64 | 64 69 6e 67 20 61 6e 64 |st by ad|ding and|
|00002830| 20 72 65 6d 6f 76 69 6e | 67 20 65 78 63 65 70 74 | removin|g except|
|00002840| 69 6f 6e 20 63 6f 64 65 | 2f 68 61 6e 64 6c 65 72 |ion code|/handler|
|00002850| 20 70 61 69 72 73 20 61 | 74 20 74 68 65 20 63 6f | pairs a|t the co|
|00002860| 72 72 65 63 74 20 70 6c | 61 63 65 73 20 77 69 74 |rrect pl|aces wit|
|00002870| 68 69 6e 20 74 68 65 20 | 73 63 72 69 70 74 2e 0d |hin the |script..|
|00002880| 44 65 66 69 6e 69 6e 67 | 20 67 53 70 65 63 69 61 |Defining| gSpecia|
|00002890| 6c 45 78 63 65 70 74 69 | 6f 6e 48 61 6e 64 6c 65 |lExcepti|onHandle|
|000028a0| 72 73 0d 49 6e 20 61 64 | 64 69 74 69 6f 6e 20 74 |rs.In ad|dition t|
|000028b0| 6f 20 6d 6f 64 69 66 79 | 69 6e 67 20 74 68 65 20 |o modify|ing the |
|000028c0| 67 6c 6f 62 61 6c 20 67 | 45 78 63 65 70 74 69 6f |global g|Exceptio|
|000028d0| 6e 4c 69 73 74 2c 20 67 | 72 6f 75 70 73 20 6f 66 |nList, g|roups of|
|000028e0| 20 65 78 63 65 70 74 69 | 6f 6e 73 20 63 61 6e 20 | excepti|ons can |
|000028f0| 62 65 20 68 61 6e 64 6c | 65 64 20 62 79 20 64 65 |be handl|ed by de|
|00002900| 66 69 6e 69 6e 67 20 74 | 68 65 20 67 6c 6f 62 61 |fining t|he globa|
|00002910| 6c 20 67 53 70 65 63 69 | 61 6c 45 78 63 65 70 74 |l gSpeci|alExcept|
|00002920| 69 6f 6e 48 61 6e 64 6c | 65 72 73 2e 20 20 54 68 |ionHandl|ers. Th|
|00002930| 69 73 20 67 6c 6f 62 61 | 6c 20 74 61 6b 65 73 20 |is globa|l takes |
|00002940| 74 68 65 20 73 61 6d 65 | 20 66 6f 72 6d 61 74 20 |the same| format |
|00002950| 61 73 20 74 68 65 20 67 | 45 78 63 65 70 74 69 6f |as the g|Exceptio|
|00002960| 6e 4c 69 73 74 2c 20 68 | 6f 77 65 76 65 72 20 6f |nList, h|owever o|
|00002970| 6e 6c 79 20 22 61 6c 6c | 22 2c 20 22 61 6c 6c 4e |nly "all|", "allN|
|00002980| 6f 6e 54 68 72 6f 77 6e | 22 2c 20 61 6e 64 20 22 |onThrown|", and "|
|00002990| 61 6c 6c 54 68 72 6f 77 | 6e 22 20 61 72 65 20 61 |allThrow|n" are a|
|000029a0| 6c 6c 6f 77 65 64 20 69 | 6e 73 74 65 61 64 20 6f |llowed i|nstead o|
|000029b0| 66 20 65 78 63 65 70 74 | 69 6f 6e 20 63 6f 64 65 |f except|ion code|
|000029c0| 73 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |s. For |example,|
|000029d0| 20 69 66 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 67 | if the |global g|
|000029e0| 45 78 63 65 70 74 69 6f | 6e 4c 69 73 74 20 77 65 |Exceptio|nList we|
|000029f0| 72 65 20 64 65 66 69 6e | 65 64 20 61 73 3a 0d 7b |re defin|ed as:.{|
|00002a00| 0d 09 7b 2d 31 31 30 30 | 2c 20 7b 74 61 73 6b 20 |..{-1100|, {task |
|00002a10| 43 72 61 73 68 48 61 6e | 64 6c 65 72 2c 20 7b 31 |CrashHan|dler, {1|
|00002a20| 2c 31 2c 31 2c 31 2c 31 | 7d 2c 31 7d 7d 2c 0d 09 |,1,1,1,1|},1}},..|
|00002a30| 7b 27 44 65 66 61 75 6c | 74 27 2c 20 7b 74 61 73 |{'Defaul|t', {tas|
|00002a40| 6b 20 44 65 66 61 75 6c | 74 45 78 63 65 70 74 69 |k Defaul|tExcepti|
|00002a50| 6f 6e 48 61 6e 64 6c 65 | 72 2c 20 7b 31 7d 2c 30 |onHandle|r, {1},0|
|00002a60| 7d 7d 0d 7d 0d 67 53 70 | 65 63 69 61 6c 45 78 63 |}}.}.gSp|ecialExc|
|00002a70| 65 70 74 69 6f 6e 48 61 | 6e 64 6c 65 72 73 20 63 |eptionHa|ndlers c|
|00002a80| 6f 75 6c 64 20 62 65 20 | 64 65 66 69 6e 65 64 20 |ould be |defined |
|00002a90| 61 73 3a 0d 7b 0d 09 7b | 22 61 6c 6c 54 68 72 6f |as:.{..{|"allThro|
|00002aa0| 77 6e 22 2c 20 7b 74 61 | 73 6b 20 54 68 72 6f 77 |wn", {ta|sk Throw|
|00002ab0| 48 61 6e 64 6c 65 72 2c | 20 7b 31 2c 31 2c 31 2c |Handler,| {1,1,1,|
|00002ac0| 31 2c 31 7d 2c 30 7d 7d | 2c 0d 09 7b 22 61 6c 6c |1,1},0}}|,..{"all|
|00002ad0| 4e 6f 6e 54 68 72 6f 77 | 6e 22 2c 20 7b 74 61 73 |NonThrow|n", {tas|
|00002ae0| 6b 20 4e 6f 6e 54 68 72 | 6f 77 48 61 6e 64 6c 65 |k NonThr|owHandle|
|00002af0| 72 2c 20 7b 31 7d 2c 30 | 7d 7d 0d 7d 2e 0d 49 66 |r, {1},0|}}.}..If|
|00002b00| 20 61 20 2d 31 31 30 30 | 20 6f 63 63 75 72 73 2c | a -1100| occurs,|
|00002b10| 20 69 74 20 77 6f 75 6c | 64 20 62 65 20 61 73 73 | it woul|d be ass|
|00002b20| 6f 63 69 61 74 65 64 20 | 77 69 74 68 20 74 68 65 |ociated |with the|
|00002b30| 20 2d 31 31 30 30 20 68 | 61 6e 64 6c 65 72 20 69 | -1100 h|andler i|
|00002b40| 6e 20 74 68 65 20 67 45 | 78 63 65 70 74 69 6f 6e |n the gE|xception|
|00002b50| 4c 69 73 74 2c 20 77 68 | 69 63 68 20 68 61 73 20 |List, wh|ich has |
|00002b60| 74 68 65 20 54 68 72 6f | 77 20 46 6c 61 67 20 73 |the Thro|w Flag s|
|00002b70| 65 74 20 6f 6e 2e 20 20 | 48 6f 77 65 76 65 72 2c |et on. |However,|
|00002b80| 20 62 65 66 6f 72 65 20 | 74 68 72 6f 77 69 6e 67 | before |throwing|
|00002b90| 2c 20 74 68 65 20 65 78 | 63 65 70 74 69 6f 6e 20 |, the ex|ception |
|00002ba0| 68 61 6e 64 6c 69 6e 67 | 20 6d 65 63 68 61 6e 69 |handling| mechani|
|00002bb0| 73 6d 20 63 68 65 63 6b | 73 20 67 53 70 65 63 69 |sm check|s gSpeci|
|00002bc0| 61 6c 45 78 63 65 70 74 | 69 6f 6e 48 61 6e 64 6c |alExcept|ionHandl|
|00002bd0| 65 72 73 20 74 6f 20 73 | 65 65 20 69 66 20 74 68 |ers to s|ee if th|
|00002be0| 65 20 22 61 6c 6c 54 68 | 72 6f 77 6e 22 20 65 78 |e "allTh|rown" ex|
|00002bf0| 63 65 70 74 69 6f 6e 20 | 63 6f 64 65 20 69 73 20 |ception |code is |
|00002c00| 64 65 66 69 6e 65 64 2e | 20 20 49 6e 20 74 68 69 |defined.| In thi|
|00002c10| 73 20 63 61 73 65 20 69 | 74 20 69 73 2c 20 73 6f |s case i|t is, so|
|00002c20| 20 74 68 65 20 74 61 73 | 6b 20 61 73 73 6f 63 69 | the tas|k associ|
|00002c30| 61 74 65 64 20 77 69 74 | 68 20 22 61 6c 6c 54 68 |ated wit|h "allTh|
|00002c40| 72 6f 77 6e 22 2c 20 54 | 68 72 6f 77 48 61 6e 64 |rown", T|hrowHand|
|00002c50| 6c 65 72 28 29 20 77 69 | 6c 6c 20 62 65 20 63 61 |ler() wi|ll be ca|
|00002c60| 6c 6c 65 64 20 61 6e 64 | 20 74 68 65 20 2d 31 31 |lled and| the -11|
|00002c70| 30 30 20 77 69 6c 6c 20 | 62 65 20 68 61 6e 64 6c |00 will |be handl|
|00002c80| 65 64 20 69 6e 73 74 65 | 61 64 20 6f 66 20 74 68 |ed inste|ad of th|
|00002c90| 72 6f 77 6e 2e 0d 43 61 | 6c 6c 69 6e 67 20 45 78 |rown..Ca|lling Ex|
|00002ca0| 63 65 70 74 69 6f 6e 44 | 69 73 70 61 74 63 68 65 |ceptionD|ispatche|
|00002cb0| 72 28 29 0d 57 68 65 6e | 20 43 6f 6d 6d 61 6e 64 |r().When| Command|
|00002cc0| 45 78 63 65 70 74 69 6f | 6e 73 20 69 73 20 73 65 |Exceptio|ns is se|
|00002cd0| 74 20 6f 6e 2c 20 61 6c | 6c 20 53 50 45 43 20 53 |t on, al|l SPEC S|
|00002ce0| 26 4c 20 65 78 63 65 70 | 74 69 6f 6e 73 20 61 72 |&L excep|tions ar|
|00002cf0| 65 20 66 75 6e 6e 65 6c | 65 64 20 74 68 6f 75 67 |e funnel|ed thoug|
|00002d00| 68 20 74 68 65 20 74 61 | 73 6b 20 45 78 63 65 70 |h the ta|sk Excep|
|00002d10| 74 69 6f 6e 44 69 73 70 | 61 74 63 68 65 72 28 29 |tionDisp|atcher()|
|00002d20| 2c 20 77 68 69 63 68 20 | 74 61 6b 65 73 20 74 77 |, which |takes tw|
|00002d30| 6f 20 70 61 72 61 6d 65 | 74 65 72 73 20 2d 20 70 |o parame|ters - p|
|00002d40| 45 78 63 65 70 74 69 6f | 6e 43 6f 64 65 20 61 6e |Exceptio|nCode an|
|00002d50| 64 20 70 48 61 6e 64 6c | 65 54 68 65 45 78 63 65 |d pHandl|eTheExce|
|00002d60| 70 74 69 6f 6e 2e 20 20 | 42 79 20 64 65 66 61 75 |ption. |By defau|
|00002d70| 6c 74 2c 20 70 48 61 6e | 64 6c 65 54 68 65 45 78 |lt, pHan|dleTheEx|
|00002d80| 63 65 70 74 69 6f 6e 20 | 69 73 20 73 65 74 20 74 |ception |is set t|
|00002d90| 6f 20 30 2e 20 20 54 68 | 69 73 20 63 61 75 73 65 |o 0. Th|is cause|
|00002da0| 73 20 70 72 6f 67 72 61 | 6d 20 66 6c 6f 77 20 74 |s progra|m flow t|
|00002db0| 6f 20 62 65 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |o be det|ermined |
|00002dc0| 74 68 65 20 73 74 61 74 | 65 20 6f 66 20 74 68 65 |the stat|e of the|
|00002dd0| 20 69 6e 64 69 76 69 64 | 75 61 6c 20 65 78 63 65 | individ|ual exce|
|00002de0| 70 74 69 6f 6e 20 68 61 | 6e 64 6c 65 72 27 73 20 |ption ha|ndler's |
|00002df0| 74 68 72 6f 77 20 66 6c | 61 67 20 2d 20 69 66 20 |throw fl|ag - if |
|00002e00| 69 74 27 73 20 73 65 74 | 20 6f 6e 2c 20 74 68 72 |it's set| on, thr|
|00002e10| 6f 77 20 74 68 65 20 65 | 78 63 65 70 74 69 6f 6e |ow the e|xception|
|00002e20| 2c 20 65 6c 73 65 20 68 | 61 6e 64 6c 65 20 69 74 |, else h|andle it|
|00002e30| 2e 20 20 41 6c 6c 20 53 | 50 45 43 20 53 26 4c 20 |. All S|PEC S&L |
|00002e40| 6c 69 62 72 61 72 79 20 | 63 61 6c 6c 73 20 74 6f |library |calls to|
|00002e50| 20 45 78 63 65 70 74 69 | 6f 6e 44 69 73 70 61 74 | Excepti|onDispat|
|00002e60| 63 68 65 72 28 29 20 62 | 65 68 61 76 65 20 74 68 |cher() b|ehave th|
|00002e70| 69 73 20 77 61 79 2e 20 | 20 48 6f 77 65 76 65 72 |is way. | However|
|00002e80| 2c 20 69 74 20 6d 61 79 | 20 62 65 20 64 65 73 69 |, it may| be desi|
|00002e90| 72 65 61 62 6c 65 20 66 | 6f 72 20 61 20 22 63 61 |reable f|or a "ca|
|00002ea0| 6c 6c 69 6e 67 22 20 73 | 63 72 69 70 74 20 74 6f |lling" s|cript to|
|00002eb0| 20 63 61 74 63 68 20 61 | 6e 64 20 68 61 6e 64 6c | catch a|nd handl|
|00002ec0| 65 20 65 78 63 65 70 74 | 69 6f 6e 73 20 77 68 69 |e except|ions whi|
|00002ed0| 63 68 20 61 72 65 20 6e | 6f 72 6d 61 6c 6c 79 20 |ch are n|ormally |
|00002ee0| 74 68 72 6f 77 6e 2e 20 | 20 54 6f 20 61 63 63 6f |thrown. | To acco|
|00002ef0| 6d 70 6c 69 73 68 20 74 | 68 69 73 2c 20 45 78 63 |mplish t|his, Exc|
|00002f00| 65 70 74 69 6f 6e 44 69 | 73 70 61 74 63 68 65 72 |eptionDi|spatcher|
|00002f10| 28 29 20 73 68 6f 75 6c | 64 20 62 65 20 63 61 6c |() shoul|d be cal|
|00002f20| 6c 65 64 20 77 69 74 68 | 20 70 48 61 6e 64 6c 65 |led with| pHandle|
|00002f30| 54 68 65 45 78 63 65 70 | 74 69 6f 6e 20 73 65 74 |TheExcep|tion set|
|00002f40| 20 6f 6e 2c 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a | on, as |follows:|
|00002f50| 0d 4c 69 62 72 61 72 69 | 65 73 20 22 45 78 63 65 |.Librari|es "Exce|
|00002f60| 70 74 69 6f 6e 48 61 6e | 64 6c 69 6e 67 2e 4c 69 |ptionHan|dling.Li|
|00002f70| 62 22 2e 2e 2e 3b 0d 42 | 65 67 69 6e 20 23 20 6d |b"...;.B|egin # m|
|00002f80| 79 53 63 72 69 70 74 0d | 09 74 72 79 20 62 65 67 |yScript.|.try beg|
|00002f90| 69 6e 0d 09 09 2e 0d 09 | 09 2e 0d 09 09 2e 0d 09 |in......|........|
|00002fa0| 09 3c 79 6f 75 72 20 73 | 63 72 69 70 74 20 63 61 |.<your s|cript ca|
|00002fb0| 6c 6c 73 3e 0d 09 09 2e | 0d 09 09 2e 0d 09 09 2e |lls>....|........|
|00002fc0| 0d 09 65 6e 64 3b 20 23 | 20 74 72 79 20 62 6c 6f |..end; #| try blo|
|00002fd0| 63 6b 0d 09 63 61 74 63 | 68 20 74 68 65 45 78 63 |ck..catc|h theExc|
|00002fe0| 65 70 74 69 6f 6e 0d 09 | 09 45 78 63 65 70 74 69 |eption..|.Excepti|
|00002ff0| 6f 6e 44 69 73 70 61 74 | 63 68 65 72 28 74 68 65 |onDispat|cher(the|
|00003000| 45 78 63 65 70 74 69 6f | 6e 2c 31 29 3b 0d 65 6e |Exceptio|n,1);.en|
|00003010| 64 3b 20 23 20 6d 79 53 | 63 72 69 70 74 0d 49 6e |d; # myS|cript.In|
|00003020| 20 74 68 69 73 20 63 61 | 73 65 2c 20 74 68 65 20 | this ca|se, the |
|00003030| 65 78 63 65 70 74 69 6f | 6e 20 77 69 6c 6c 20 62 |exceptio|n will b|
|00003040| 65 20 68 61 6e 64 6c 65 | 64 20 72 65 67 61 72 64 |e handle|d regard|
|00003050| 6c 65 73 73 20 6f 66 20 | 74 68 65 20 76 61 6c 75 |less of |the valu|
|00003060| 65 20 6f 66 20 74 68 65 | 20 65 78 63 65 70 74 69 |e of the| excepti|
|00003070| 6f 6e 20 68 61 6e 64 6c | 65 72 27 73 20 74 68 72 |on handl|er's thr|
|00003080| 6f 77 20 66 6c 61 67 2e | 20 20 54 68 69 73 20 69 |ow flag.| This i|
|00003090| 73 20 64 65 73 69 72 65 | 61 62 6c 65 20 62 65 63 |s desire|able bec|
|000030a0| 61 75 73 65 20 69 66 20 | 61 6e 20 65 78 63 65 70 |ause if |an excep|
|000030b0| 74 69 6f 6e 20 77 65 72 | 65 20 74 68 72 6f 77 6e |tion wer|e thrown|
|000030c0| 2c 20 74 68 65 72 65 20 | 77 6f 75 6c 64 20 6e 6f |, there |would no|
|000030d0| 74 20 62 65 20 61 20 63 | 61 74 63 68 20 61 62 6f |t be a c|atch abo|
|000030e0| 76 65 20 69 74 2c 20 61 | 6e 64 20 73 63 72 69 70 |ve it, a|nd scrip|
|000030f0| 74 20 65 78 65 63 75 74 | 69 6f 6e 20 77 6f 75 6c |t execut|ion woul|
|00003100| 64 20 74 65 72 6d 69 6e | 61 74 65 2e 0d 4e 6f 74 |d termin|ate..Not|
|00003110| 65 3a 20 20 53 50 45 43 | 20 53 26 4c 20 31 2e 32 |e: SPEC| S&L 1.2|
|00003120| 20 51 75 69 63 6b 4c 6f | 6f 6b 20 73 63 72 69 70 | QuickLo|ok scrip|
|00003130| 74 73 20 68 61 76 65 20 | 62 65 65 6e 20 75 70 64 |ts have |been upd|
|00003140| 61 74 65 64 20 74 6f 20 | 69 6e 63 6c 75 64 65 20 |ated to |include |
|00003150| 74 72 79 2d 74 68 72 6f | 77 2d 63 61 74 63 68 20 |try-thro|w-catch |
|00003160| 62 6c 6f 63 6b 73 20 61 | 6e 64 20 63 61 6c 6c 73 |blocks a|nd calls|
|00003170| 20 74 6f 20 45 78 63 65 | 70 74 69 6f 6e 44 69 73 | to Exce|ptionDis|
|00003180| 70 61 74 63 68 65 72 20 | 28 73 65 65 20 74 68 65 |patcher |(see the|
|00003190| 20 51 75 69 63 6b 4c 6f | 6f 6b 20 4d 6f 64 69 66 | QuickLo|ok Modif|
|000031a0| 69 63 61 74 69 6f 6e 73 | 20 73 65 63 74 69 6f 6e |ications| section|
|000031b0| 20 66 6f 72 20 6d 6f 72 | 65 20 64 65 74 61 69 6c | for mor|e detail|
|000031c0| 29 2e 0d 43 72 61 73 68 | 20 48 61 6e 64 6c 69 6e |)..Crash| Handlin|
|000031d0| 67 0d 43 72 61 73 68 20 | 48 61 6e 64 6c 69 6e 67 |g.Crash |Handling|
|000031e0| 20 69 6e 20 53 50 45 43 | 20 53 26 4c 20 31 2e 32 | in SPEC| S&L 1.2|
|000031f0| 20 69 73 20 63 6f 6e 74 | 72 6f 6c 6c 65 64 20 62 | is cont|rolled b|
|00003200| 79 20 74 68 65 20 67 6c | 6f 62 61 6c 20 67 43 72 |y the gl|obal gCr|
|00003210| 61 73 68 48 61 6e 64 6c | 69 6e 67 20 61 6e 64 20 |ashHandl|ing and |
|00003220| 69 73 20 73 65 74 20 4f | 4e 20 62 79 20 64 65 66 |is set O|N by def|
|00003230| 61 75 6c 74 2e 20 20 49 | 74 20 72 65 71 75 69 72 |ault. I|t requir|
|00003240| 65 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |es the f|ollowing|
|00003250| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 3a 20 | configu|ration: |
|00003260| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 31 2e 31 | AppleSc|ript 1.1|
|00003270| 20 6f 72 20 68 69 67 68 | 65 72 20 69 6e 73 74 61 | or high|er insta|
|00003280| 6c 6c 65 64 20 6f 6e 20 | 74 68 65 20 68 6f 73 74 |lled on |the host|
|00003290| 2c 20 61 6e 64 20 41 70 | 70 6c 65 53 63 72 69 70 |, and Ap|pleScrip|
|000032a0| 74 20 31 2e 31 2c 20 46 | 69 6c 65 74 6f 6f 6c 20 |t 1.1, F|iletool |
|000032b0| 32 2e 32 64 32 20 61 6e | 64 20 4d 61 63 73 42 75 |2.2d2 an|d MacsBu|
|000032c0| 67 20 36 2e 35 64 38 20 | 6f 72 20 68 69 67 68 65 |g 6.5d8 |or highe|
|000032d0| 72 20 69 6e 73 74 61 6c | 6c 65 64 20 6f 6e 20 74 |r instal|led on t|
|000032e0| 68 65 20 74 61 72 67 65 | 74 2e 20 20 42 79 20 64 |he targe|t. By d|
|000032f0| 65 66 61 75 6c 74 2c 20 | 53 50 45 43 20 53 26 4c |efault, |SPEC S&L|
|00003300| 20 63 72 61 73 68 20 68 | 61 6e 64 6c 69 6e 67 20 | crash h|andling |
|00003310| 77 69 6c 6c 20 70 65 72 | 66 6f 72 6d 20 74 68 65 |will per|form the|
|00003320| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 66 75 6e 63 74 | followi|ng funct|
|00003330| 69 6f 6e 73 3a 0d 31 29 | 20 20 49 6e 73 74 61 6c |ions:.1)| Instal|
|00003340| 6c 20 61 6e 20 65 76 65 | 72 79 74 69 6d 65 20 6d |l an eve|rytime m|
|00003350| 61 63 72 6f 20 6f 6e 20 | 74 68 65 20 74 61 72 67 |acro on |the targ|
|00003360| 65 74 20 77 68 65 6e 65 | 76 65 72 20 61 20 73 75 |et whene|ver a su|
|00003370| 69 74 65 20 69 73 20 73 | 74 61 72 74 65 64 2e 20 |ite is s|tarted. |
|00003380| 20 54 68 65 20 65 76 65 | 72 79 74 69 6d 65 20 6d | The eve|rytime m|
|00003390| 61 63 72 6f 20 77 69 6c | 6c 20 6c 6f 67 20 63 72 |acro wil|l log cr|
|000033a0| 61 73 68 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ash info|rmation |
|000033b0| 61 6e 64 20 72 65 73 74 | 61 72 74 20 74 68 65 20 |and rest|art the |
|000033c0| 74 61 72 67 65 74 20 69 | 66 20 74 68 65 20 74 61 |target i|f the ta|
|000033d0| 72 67 65 74 20 64 72 6f | 70 73 20 69 6e 74 6f 20 |rget dro|ps into |
|000033e0| 4d 61 63 73 62 75 67 20 | 61 74 20 61 6e 79 20 74 |Macsbug |at any t|
|000033f0| 69 6d 65 20 64 75 72 69 | 6e 67 20 74 68 65 20 73 |ime duri|ng the s|
|00003400| 75 69 74 65 2e 0d 32 29 | 20 20 49 66 20 61 20 74 |uite..2)| If a t|
|00003410| 61 72 67 65 74 20 63 72 | 61 73 68 65 73 2c 20 61 |arget cr|ashes, a|
|00003420| 74 74 65 6d 70 74 20 74 | 6f 20 72 65 61 63 71 75 |ttempt t|o reacqu|
|00003430| 69 72 65 20 74 68 65 20 | 74 61 72 67 65 74 0d 33 |ire the |target.3|
|00003440| 29 20 20 49 66 20 74 68 | 65 20 74 61 72 67 65 74 |) If th|e target|
|00003450| 20 63 61 6e 6e 6f 74 20 | 62 65 20 72 65 61 71 75 | cannot |be reaqu|
|00003460| 69 72 65 64 2c 20 61 62 | 6f 72 74 20 74 68 65 20 |ired, ab|ort the |
|00003470| 73 75 69 74 65 2e 0d 34 | 29 20 20 49 66 20 74 68 |suite..4|) If th|
|00003480| 65 20 74 61 72 67 65 74 | 20 63 61 6e 20 62 65 20 |e target| can be |
|00003490| 72 65 61 71 75 69 72 65 | 64 2c 20 72 65 61 64 20 |reaquire|d, read |
|000034a0| 61 6e 64 20 72 65 6e 61 | 6d 65 20 74 68 65 20 63 |and rena|me the c|
|000034b0| 72 61 73 68 20 6c 6f 67 | 2e 0d 35 29 20 20 41 62 |rash log|..5) Ab|
|000034c0| 6f 72 74 20 74 68 65 20 | 53 75 69 74 65 0d 43 72 |ort the |Suite.Cr|
|000034d0| 61 73 68 20 68 61 6e 64 | 6c 69 6e 67 20 63 61 6e |ash hand|ling can|
|000034e0| 20 62 65 20 74 75 72 6e | 65 64 20 4f 46 46 20 62 | be turn|ed OFF b|
|000034f0| 79 20 72 65 73 65 74 74 | 69 6e 67 20 67 43 72 61 |y resett|ing gCra|
|00003500| 73 68 48 61 6e 64 6c 69 | 6e 67 20 74 6f 20 30 20 |shHandli|ng to 0 |
|00003510| 62 79 20 61 6e 79 20 6f | 66 20 74 68 65 20 6d 65 |by any o|f the me|
|00003520| 74 68 6f 64 73 20 64 65 | 73 63 72 69 62 65 64 20 |thods de|scribed |
|00003530| 69 6e 20 74 68 65 20 4d | 6f 64 69 66 79 69 6e 67 |in the M|odifying|
|00003540| 20 47 6c 6f 62 61 6c 73 | 20 73 65 63 74 69 6f 6e | Globals| section|
|00003550| 20 62 65 6c 6f 77 2e 0d | 43 75 73 74 6f 6d 69 7a | below..|Customiz|
|00003560| 69 6e 67 20 74 68 65 20 | 43 72 61 73 68 20 48 61 |ing the |Crash Ha|
|00003570| 6e 64 6c 65 72 0d 54 68 | 65 20 63 72 61 73 68 20 |ndler.Th|e crash |
|00003580| 68 61 6e 64 6c 65 72 20 | 6d 65 63 68 61 6e 69 73 |handler |mechanis|
|00003590| 6d 20 63 61 6e 20 62 65 | 20 6d 6f 64 69 66 69 65 |m can be| modifie|
|000035a0| 64 20 76 69 61 20 61 6e | 79 20 6f 66 20 74 68 65 |d via an|y of the|
|000035b0| 20 6d 65 74 68 6f 64 73 | 20 64 65 73 63 72 69 62 | methods| describ|
|000035c0| 65 64 20 69 6e 20 74 68 | 65 20 4d 6f 64 69 66 79 |ed in th|e Modify|
|000035d0| 69 6e 67 20 67 45 78 63 | 65 70 74 69 6f 6e 4c 69 |ing gExc|eptionLi|
|000035e0| 73 74 20 73 65 63 74 69 | 6f 6e 20 61 62 6f 76 65 |st secti|on above|
|000035f0| 2e 20 20 54 68 69 73 20 | 69 6e 63 6c 75 64 65 73 |. This |includes|
|00003600| 20 63 61 6c 6c 69 6e 67 | 20 44 65 66 61 75 6c 74 | calling| Default|
|00003610| 43 72 61 73 68 48 61 6e | 64 6c 65 72 28 29 20 77 |CrashHan|dler() w|
|00003620| 69 74 68 20 61 20 63 75 | 73 74 6f 6d 20 73 65 74 |ith a cu|stom set|
|00003630| 20 6f 66 20 70 61 72 61 | 6d 65 74 65 72 73 20 28 | of para|meters (|
|00003640| 73 65 65 20 44 65 66 61 | 75 6c 74 43 72 61 73 68 |see Defa|ultCrash|
|00003650| 48 61 6e 64 6c 65 72 20 | 74 61 73 6b 20 68 65 61 |Handler |task hea|
|00003660| 64 65 72 20 66 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |der for |more inf|
|00003670| 6f 72 6d 61 74 69 6f 6e | 29 20 6f 72 20 63 61 6c |ormation|) or cal|
|00003680| 6c 69 6e 67 20 79 6f 75 | 72 20 6f 77 6e 20 63 75 |ling you|r own cu|
|00003690| 73 74 6f 6d 20 63 72 61 | 73 68 20 68 61 6e 64 6c |stom cra|sh handl|
|000036a0| 65 72 2e 0d 4d 6f 64 69 | 66 79 69 6e 67 20 47 6c |er..Modi|fying Gl|
|000036b0| 6f 62 61 6c 73 0d 53 50 | 45 43 20 53 26 4c 20 67 |obals.SP|EC S&L g|
|000036c0| 6c 6f 62 61 6c 73 20 63 | 61 6e 20 6e 6f 77 20 62 |lobals c|an now b|
|000036d0| 65 20 6d 6f 64 69 66 69 | 65 64 20 62 79 20 74 68 |e modifi|ed by th|
|000036e0| 65 20 73 65 63 6f 6e 64 | 20 70 61 72 61 6d 65 74 |e second| paramet|
|000036f0| 65 72 20 74 6f 20 49 6e | 69 74 47 6c 6f 62 61 6c |er to In|itGlobal|
|00003700| 73 28 29 2c 20 70 47 6c | 6f 62 61 6c 73 44 65 66 |s(), pGl|obalsDef|
|00003710| 4c 69 73 74 2e 20 20 54 | 68 65 20 73 74 72 75 63 |List. T|he struc|
|00003720| 74 75 72 65 20 6f 66 20 | 70 47 6c 6f 62 61 6c 73 |ture of |pGlobals|
|00003730| 44 65 66 4c 69 73 74 20 | 69 73 3a 0d 7b 0d 09 7b |DefList |is:.{..{|
|00003740| 27 3c 67 6c 6f 62 61 6c | 20 6e 61 6d 65 31 3e 27 |'<global| name1>'|
|00003750| 3e 2c 20 3c 64 65 73 69 | 72 65 64 20 76 61 6c 75 |>, <desi|red valu|
|00003760| 65 31 3e 7d 2c 0d 09 7b | 27 3c 67 6c 6f 62 61 6c |e1>},..{|'<global|
|00003770| 20 6e 61 6d 65 32 3e 27 | 3e 2c 20 3c 64 65 73 69 | name2>'|>, <desi|
|00003780| 72 65 64 20 76 61 6c 75 | 65 32 3e 7d 2c 0d 09 09 |red valu|e2>},...|
|00003790| 2e 0d 09 09 2e 0d 09 09 | 2e 0d 7d 0d 46 6f 72 20 |........|..}.For |
|000037a0| 65 78 61 6d 70 6c 65 2c | 20 74 6f 20 74 75 72 6e |example,| to turn|
|000037b0| 20 4f 46 46 20 74 65 73 | 74 20 63 61 73 65 20 74 | OFF tes|t case t|
|000037c0| 72 61 63 6b 69 6e 67 20 | 61 6e 64 20 70 72 65 66 |racking |and pref|
|000037d0| 6c 69 67 68 74 69 6e 67 | 20 28 77 68 69 63 68 20 |lighting| (which |
|000037e0| 61 72 65 20 4f 4e 20 62 | 79 20 64 65 66 61 75 6c |are ON b|y defaul|
|000037f0| 74 29 2c 20 63 61 6c 6c | 20 49 6e 69 74 47 6c 6f |t), call| InitGlo|
|00003800| 62 61 6c 73 28 29 20 61 | 73 20 66 6f 6c 6c 6f 77 |bals() a|s follow|
|00003810| 73 3a 0d 49 6e 69 74 47 | 6c 6f 62 61 6c 73 28 2c |s:.InitG|lobals(,|
|00003820| 7b 7b 27 67 54 43 54 72 | 61 63 6b 69 6e 67 27 2c |{{'gTCTr|acking',|
|00003830| 20 30 7d 2c 20 7b 27 67 | 50 72 65 46 6c 69 67 68 | 0}, {'g|PreFligh|
|00003840| 74 27 2c 20 30 7d 7d 29 | 3b 0d 49 66 20 79 6f 75 |t', 0}})|;.If you|
|00003850| 20 61 72 65 20 72 75 6e | 6e 69 6e 67 20 61 20 53 | are run|ning a S|
|00003860| 50 45 43 20 53 26 4c 20 | 65 78 61 6d 70 6c 65 20 |PEC S&L |example |
|00003870| 71 75 69 63 6b 6c 6f 6f | 6b 2c 20 67 6c 6f 62 61 |quickloo|k, globa|
|00003880| 6c 73 20 63 61 6e 20 62 | 65 20 6d 6f 64 69 66 69 |ls can b|e modifi|
|00003890| 65 64 20 77 69 74 68 6f | 75 74 20 6d 6f 64 69 66 |ed witho|ut modif|
|000038a0| 79 69 6e 67 20 74 68 65 | 20 73 63 72 69 70 74 20 |ying the| script |
|000038b0| 76 69 61 20 74 68 65 20 | 73 65 63 6f 6e 64 20 73 |via the |second s|
|000038c0| 63 72 69 70 74 20 70 61 | 72 61 6d 65 74 65 72 2c |cript pa|rameter,|
|000038d0| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0d 73 63 72 | as foll|ows:.scr|
|000038e0| 69 70 74 20 4d 61 63 57 | 72 69 74 65 20 28 2c 7b |ipt MacW|rite (,{|
|000038f0| 7b 27 67 54 43 54 72 61 | 63 6b 69 6e 67 27 2c 20 |{'gTCTra|cking', |
|00003900| 30 7d 2c 20 7b 27 67 50 | 72 65 46 6c 69 67 68 74 |0}, {'gP|reFlight|
|00003910| 27 2c 20 30 7d 7d 29 3b | 0d 6f 72 20 76 69 61 20 |', 0}});|.or via |
|00003920| 74 68 65 20 22 73 65 74 | 20 73 63 72 69 70 74 20 |the "set| script |
|00003930| 70 61 72 61 6d 65 74 65 | 72 73 22 20 6f 70 74 69 |paramete|rs" opti|
|00003940| 6f 6e 20 69 6e 20 74 68 | 65 20 56 2e 55 2e 20 61 |on in th|e V.U. a|
|00003950| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 0d 41 73 20 69 |pplicati|on..As i|
|00003960| 6e 20 70 72 65 76 69 6f | 75 73 20 76 65 72 73 69 |n previo|us versi|
|00003970| 6f 6e 73 20 6f 66 20 53 | 50 45 43 20 53 26 4c 2c |ons of S|PEC S&L,|
|00003980| 20 67 6c 6f 62 61 6c 73 | 20 63 61 6e 20 61 6c 73 | globals| can als|
|00003990| 6f 20 62 65 20 6d 6f 64 | 69 66 69 65 64 20 6f 6e |o be mod|ified on|
|000039a0| 20 61 20 73 63 72 69 70 | 74 77 69 64 65 20 62 61 | a scrip|twide ba|
|000039b0| 73 69 73 20 69 6e 20 49 | 6e 69 74 43 75 73 74 6f |sis in I|nitCusto|
|000039c0| 6d 28 29 20 69 6e 20 74 | 68 65 20 43 75 73 74 6f |m() in t|he Custo|
|000039d0| 6d 2e 4c 69 62 20 6f 72 | 20 62 79 20 72 65 64 65 |m.Lib or| by rede|
|000039e0| 66 69 6e 69 6e 67 20 74 | 68 65 6d 20 69 6e 20 74 |fining t|hem in t|
|000039f0| 68 65 20 73 63 72 69 70 | 74 20 61 66 74 65 72 20 |he scrip|t after |
|00003a00| 49 6e 69 74 47 6c 6f 62 | 61 6c 73 28 29 20 69 73 |InitGlob|als() is|
|00003a10| 20 63 61 6c 6c 65 64 2c | 20 68 6f 77 65 76 65 72 | called,| however|
|00003a20| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 20 69 73 20 | this me|thod is |
|00003a30| 6e 6f 74 20 72 65 63 6f | 6d 6d 65 6e 64 65 64 20 |not reco|mmended |
|00003a40| 75 6e 6c 65 73 73 20 74 | 68 65 20 73 63 72 69 70 |unless t|he scrip|
|00003a50| 74 20 64 65 76 65 6c 6f | 70 65 72 20 68 61 73 20 |t develo|per has |
|00003a60| 74 68 6f 72 6f 75 67 68 | 20 75 6e 64 65 72 73 74 |thorough| underst|
|00003a70| 61 6e 64 69 6e 67 20 6f | 66 20 69 74 27 73 20 69 |anding o|f it's i|
|00003a80| 6d 70 61 63 74 20 6f 6e | 20 53 50 45 43 20 53 26 |mpact on| SPEC S&|
|00003a90| 4c 20 6c 69 62 72 61 72 | 79 20 72 6f 75 74 69 6e |L librar|y routin|
|00003aa0| 65 73 2e 0d 47 6c 6f 62 | 61 6c 73 20 74 68 61 74 |es..Glob|als that|
|00003ab0| 20 63 61 6e 20 62 65 20 | 6d 6f 64 69 66 69 65 64 | can be |modified|
|00003ac0| 20 75 73 69 6e 67 20 74 | 68 65 20 61 62 6f 76 65 | using t|he above|
|00003ad0| 20 6d 65 74 68 6f 64 73 | 20 61 72 65 3a 0d 31 29 | methods| are:.1)|
|00003ae0| 20 67 43 6f 6d 6d 61 6e | 64 45 78 63 65 70 74 69 | gComman|dExcepti|
|00003af0| 6f 6e 73 0d 32 29 20 67 | 45 78 63 65 70 74 69 6f |ons.2) g|Exceptio|
|00003b00| 6e 48 61 6e 64 6c 65 72 | 4c 69 73 74 0d 33 29 20 |nHandler|List.3) |
|00003b10| 67 43 72 61 73 68 48 61 | 6e 64 6c 69 6e 67 0d 34 |gCrashHa|ndling.4|
|00003b20| 29 20 67 41 70 70 56 65 | 72 69 66 79 0d 35 29 20 |) gAppVe|rify.5) |
|00003b30| 67 54 65 73 74 43 61 73 | 65 4c 6f 67 67 69 6e 67 |gTestCas|eLogging|
|00003b40| 4d 65 74 68 6f 64 0d 36 | 29 20 67 44 65 62 75 67 |Method.6|) gDebug|
|00003b50| 46 6c 61 67 0d 37 29 20 | 67 54 65 78 74 53 74 72 |Flag.7) |gTextStr|
|00003b60| 0d 38 29 20 6b 53 63 72 | 61 70 54 45 58 54 0d 39 |.8) kScr|apTEXT.9|
|00003b70| 29 20 6b 53 63 72 61 70 | 50 49 43 54 0d 31 30 29 |) kScrap|PICT.10)|
|00003b80| 20 67 53 63 72 61 70 54 | 69 74 6c 65 0d 31 31 29 | gScrapT|itle.11)|
|00003b90| 20 67 41 6c 69 61 73 44 | 69 72 65 63 74 6f 72 79 | gAliasD|irectory|
|00003ba0| 0d 31 32 29 20 67 54 43 | 54 72 61 63 6b 69 6e 67 |.12) gTC|Tracking|
|00003bb0| 0d 31 33 29 20 67 50 72 | 65 46 6c 69 67 68 74 0d |.13) gPr|eFlight.|
|00003bc0| 31 34 29 20 67 46 6f 6e | 74 4c 69 73 74 0d 31 35 |14) gFon|tList.15|
|00003bd0| 29 20 67 46 6f 6e 74 53 | 69 7a 65 4c 69 73 74 0d |) gFontS|izeList.|
|00003be0| 31 36 29 20 67 46 6f 6e | 74 53 74 79 6c 65 4c 69 |16) gFon|tStyleLi|
|00003bf0| 73 74 0d 31 37 29 20 67 | 53 46 50 55 54 4c 6f 63 |st.17) g|SFPUTLoc|
|00003c00| 61 74 69 6f 6e 0d 31 38 | 29 20 67 50 72 69 6e 74 |ation.18|) gPrint|
|00003c10| 54 65 73 74 0d 31 39 29 | 20 67 44 6f 57 69 6e 64 |Test.19)| gDoWind|
|00003c20| 6f 77 4c 69 73 74 0d 32 | 30 29 20 67 42 61 63 6b |owList.2|0) gBack|
|00003c30| 67 72 6f 75 6e 64 51 75 | 69 74 0d 32 31 29 20 67 |groundQu|it.21) g|
|00003c40| 46 6f 72 63 65 51 75 69 | 74 0d 32 32 29 20 67 53 |ForceQui|t.22) gS|
|00003c50| 65 65 64 56 61 6c 75 65 | 0d 32 33 29 20 67 4d 61 |eedValue|.23) gMa|
|00003c60| 63 72 6f 43 6f 6d 6d 61 | 6e 64 73 0d 32 34 29 20 |croComma|nds.24) |
|00003c70| 67 41 64 64 69 74 69 6f | 6e 61 6c 54 61 72 67 65 |gAdditio|nalTarge|
|00003c80| 74 49 6e 66 6f 0d 32 35 | 29 20 67 53 70 65 63 69 |tInfo.25|) gSpeci|
|00003c90| 61 6c 45 72 72 6f 72 48 | 61 6e 64 6c 65 72 73 0d |alErrorH|andlers.|
|00003ca0| 32 36 29 20 67 50 72 69 | 6e 74 53 75 69 74 65 49 |26) gPri|ntSuiteI|
|00003cb0| 6e 66 6f 0d 46 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |nfo.For |more inf|
|00003cc0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 67 |ormation| about g|
|00003cd0| 6c 6f 62 61 6c 73 2c 20 | 73 65 65 20 54 68 65 20 |lobals, |see The |
|00003ce0| 48 69 74 63 68 48 69 6b | 65 72 27 73 20 47 75 69 |HitchHik|er's Gui|
|00003cf0| 64 65 20 74 6f 20 53 50 | 45 43 20 53 26 4c 2c 20 |de to SP|EC S&L, |
|00003d00| 41 70 70 65 6e 64 69 78 | 20 47 20 61 6e 64 20 41 |Appendix| G and A|
|00003d10| 70 70 65 6e 64 69 78 20 | 41 20 6f 66 20 74 68 69 |ppendix |A of thi|
|00003d20| 73 20 64 6f 63 75 6d 65 | 6e 74 2e 0d 51 75 69 63 |s docume|nt..Quic|
|00003d30| 6b 4c 6f 6f 6b 20 4d 6f | 64 69 66 69 63 61 74 69 |kLook Mo|dificati|
|00003d40| 6f 6e 73 0d 51 75 69 63 | 6b 4c 6f 6f 6b 20 73 63 |ons.Quic|kLook sc|
|00003d50| 72 69 70 74 73 20 62 61 | 73 65 64 20 6f 6e 20 53 |ripts ba|sed on S|
|00003d60| 50 45 43 20 53 26 4c 20 | 31 2e 31 2e 32 20 6c 69 |PEC S&L |1.1.2 li|
|00003d70| 62 72 61 72 69 65 73 20 | 77 69 6c 6c 20 72 65 6d |braries |will rem|
|00003d80| 61 69 6e 20 63 6f 6d 70 | 61 74 69 62 6c 65 20 77 |ain comp|atible w|
|00003d90| 69 74 68 20 53 50 45 43 | 20 53 26 4c 20 31 2e 32 |ith SPEC| S&L 1.2|
|00003da0| 20 6c 69 62 72 61 72 69 | 65 73 2e 20 20 48 6f 77 | librari|es. How|
|00003db0| 65 76 65 72 2c 20 74 68 | 65 20 32 34 20 65 78 61 |ever, th|e 24 exa|
|00003dc0| 6d 70 6c 65 20 51 75 69 | 63 6b 4c 6f 6f 6b 73 20 |mple Qui|ckLooks |
|00003dd0| 77 68 69 63 68 20 61 72 | 65 20 69 6e 63 6c 75 64 |which ar|e includ|
|00003de0| 65 64 20 69 6e 20 74 68 | 65 20 53 50 45 43 20 53 |ed in th|e SPEC S|
|00003df0| 26 4c 20 31 2e 32 20 70 | 61 63 6b 61 67 65 20 68 |&L 1.2 p|ackage h|
|00003e00| 61 76 65 20 62 65 65 6e | 20 75 70 67 72 61 64 65 |ave been| upgrade|
|00003e10| 64 20 66 72 6f 6d 20 53 | 50 45 43 20 53 26 4c 20 |d from S|PEC S&L |
|00003e20| 31 2e 31 2e 32 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |1.1.2 as| follows|
|00003e30| 3a 0d 45 78 63 65 70 74 | 69 6f 6e 48 61 6e 64 6c |:.Except|ionHandl|
|00003e40| 69 6e 67 2e 4c 69 62 20 | 44 65 63 6c 61 72 65 64 |ing.Lib |Declared|
|00003e50| 0d 54 68 65 20 6c 69 62 | 72 61 72 69 65 73 20 64 |.The lib|raries d|
|00003e60| 65 63 6c 61 72 61 74 69 | 6f 6e 20 6e 6f 77 20 69 |eclarati|on now i|
|00003e70| 6e 63 6c 75 64 65 73 20 | 74 68 65 20 45 78 63 65 |ncludes |the Exce|
|00003e80| 70 74 69 6f 6e 48 61 6e | 64 6c 69 6e 67 2e 4c 69 |ptionHan|dling.Li|
|00003e90| 62 3a 0d 4c 69 62 72 61 | 72 69 65 73 20 22 4f 75 |b:.Libra|ries "Ou|
|00003ea0| 74 70 75 74 2e 4c 69 62 | 22 2c 20 22 44 6f 54 61 |tput.Lib|", "DoTa|
|00003eb0| 73 6b 73 2e 4c 69 62 22 | 2c 22 44 72 61 77 2e 4c |sks.Lib"|,"Draw.L|
|00003ec0| 69 62 22 2c 22 55 73 65 | 72 49 6e 74 65 72 66 61 |ib","Use|rInterfa|
|00003ed0| 63 65 2e 4c 69 62 22 2c | 20 22 46 6f 6e 74 2e 4c |ce.Lib",| "Font.L|
|00003ee0| 69 62 22 2c 20 22 47 6c | 6f 62 61 6c 73 2e 4c 69 |ib", "Gl|obals.Li|
|00003ef0| 62 22 2c 20 22 4c 61 75 | 6e 63 68 51 75 69 74 2e |b", "Lau|nchQuit.|
|00003f00| 4c 69 62 22 2c 20 22 54 | 43 53 2e 4c 69 62 22 2c |Lib", "T|CS.Lib",|
|00003f10| 20 22 45 78 63 65 70 74 | 69 6f 6e 48 61 6e 64 6c | "Except|ionHandl|
|00003f20| 69 6e 67 2e 4c 69 62 22 | 3b 0d 54 68 69 73 20 69 |ing.Lib"|;.This i|
|00003f30| 73 20 6e 65 63 65 73 73 | 61 72 79 20 62 65 63 61 |s necess|ary beca|
|00003f40| 75 73 65 20 45 78 63 65 | 70 74 69 6f 6e 44 69 73 |use Exce|ptionDis|
|00003f50| 70 61 74 63 68 65 72 28 | 29 20 69 73 20 64 65 66 |patcher(|) is def|
|00003f60| 69 6e 65 64 20 69 6e 20 | 74 68 69 73 20 6c 69 62 |ined in |this lib|
|00003f70| 72 61 72 79 2e 0d 41 64 | 64 69 74 69 6f 6e 61 6c |rary..Ad|ditional|
|00003f80| 20 53 63 72 69 70 74 20 | 50 61 72 61 6d 65 74 65 | Script |Paramete|
|00003f90| 72 73 0d 54 68 65 20 73 | 63 72 69 70 74 20 63 61 |rs.The s|cript ca|
|00003fa0| 6c 6c 20 69 6e 63 6c 75 | 64 65 73 20 74 77 6f 20 |ll inclu|des two |
|00003fb0| 6d 6f 72 65 20 70 61 72 | 61 6d 65 74 65 72 73 2c |more par|ameters,|
|00003fc0| 20 70 47 6c 6f 62 61 6c | 73 44 65 66 4c 69 73 74 | pGlobal|sDefList|
|00003fd0| 20 61 6e 64 20 70 48 61 | 6e 64 6c 65 54 68 72 6f | and pHa|ndleThro|
|00003fe0| 77 6e 45 72 72 6f 72 73 | 2e 20 20 54 68 69 73 20 |wnErrors|. This |
|00003ff0| 65 6e 61 62 6c 65 73 20 | 67 6c 6f 62 61 6c 73 20 |enables |globals |
|00004000| 61 6e 64 20 74 68 72 6f | 77 6e 20 65 78 63 65 70 |and thro|wn excep|
|00004010| 74 69 6f 6e 20 68 61 6e | 64 6c 69 6e 67 20 62 65 |tion han|dling be|
|00004020| 68 61 76 69 6f 72 20 74 | 6f 20 62 65 20 64 65 66 |havior t|o be def|
|00004030| 69 6e 65 61 62 6c 65 20 | 6f 6e 20 61 20 73 63 72 |ineable |on a scr|
|00004040| 69 70 74 20 62 79 20 73 | 63 72 69 70 74 20 62 61 |ipt by s|cript ba|
|00004050| 73 69 73 3a 0d 73 63 72 | 69 70 74 20 3c 20 61 70 |sis:.scr|ipt < ap|
|00004060| 70 6c 69 63 61 74 69 6f | 6e 20 6e 61 6d 65 20 3e |plicatio|n name >|
|00004070| 20 28 53 63 72 69 70 74 | 4c 65 76 65 6c 3a 3d 20 | (Script|Level:= |
|00004080| 2d 31 2c 20 70 47 6c 6f | 62 61 6c 73 44 65 66 4c |-1, pGlo|balsDefL|
|00004090| 69 73 74 20 3a 3d 20 7b | 7d 2c 20 70 48 61 6e 64 |ist := {|}, pHand|
|000040a0| 6c 65 54 68 72 6f 77 6e | 45 72 72 6f 72 73 3a 3d |leThrown|Errors:=|
|000040b0| 20 31 29 3b 0d 70 47 6c | 6f 62 61 6c 73 44 65 66 | 1);.pGl|obalsDef|
|000040c0| 4c 69 73 74 20 68 61 73 | 20 61 20 64 65 66 61 75 |List has| a defau|
|000040d0| 6c 74 20 76 61 6c 75 65 | 20 6f 66 20 22 7b 7d 22 |lt value| of "{}"|
|000040e0| 20 61 6e 64 20 69 73 20 | 70 61 73 73 65 64 20 69 | and is |passed i|
|000040f0| 6e 74 6f 20 74 68 65 20 | 63 61 6c 6c 20 74 6f 20 |nto the |call to |
|00004100| 49 6e 69 74 47 6c 6f 62 | 61 6c 73 28 29 2e 20 20 |InitGlob|als(). |
|00004110| 70 48 61 6e 64 6c 65 54 | 68 72 6f 77 6e 45 72 72 |pHandleT|hrownErr|
|00004120| 6f 72 73 20 68 61 73 20 | 61 20 64 65 66 61 75 6c |ors has |a defaul|
|00004130| 74 20 76 61 6c 75 65 20 | 6f 66 20 22 31 22 20 61 |t value |of "1" a|
|00004140| 6e 64 20 69 73 20 70 61 | 73 73 65 64 20 69 6e 74 |nd is pa|ssed int|
|00004150| 6f 20 74 68 65 20 63 61 | 6c 6c 20 74 6f 20 45 78 |o the ca|ll to Ex|
|00004160| 63 65 70 74 69 6f 6e 44 | 69 73 70 61 74 63 68 65 |ceptionD|ispatche|
|00004170| 72 28 29 2e 0d 41 64 64 | 69 74 69 6f 6e 61 6c 20 |r()..Add|itional |
|00004180| 49 6e 69 74 47 6c 6f 62 | 61 6c 73 28 29 20 50 61 |InitGlob|als() Pa|
|00004190| 72 61 6d 65 74 65 72 73 | 0d 70 47 6c 6f 62 61 6c |rameters|.pGlobal|
|000041a0| 73 44 65 66 4c 69 73 74 | 20 69 73 20 6e 6f 77 20 |sDefList| is now |
|000041b0| 70 61 73 73 65 64 20 69 | 6e 20 61 73 20 74 68 65 |passed i|n as the|
|000041c0| 20 73 65 63 6f 6e 64 20 | 70 61 72 61 6d 65 74 65 | second |paramete|
|000041d0| 72 20 74 6f 20 49 6e 69 | 74 47 6c 6f 62 61 6c 73 |r to Ini|tGlobals|
|000041e0| 28 29 2c 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d |(), as f|ollows:.|
|000041f0| 49 6e 69 74 47 6c 6f 62 | 61 6c 73 20 28 53 63 72 |InitGlob|als (Scr|
|00004200| 69 70 74 4c 65 76 65 6c | 2c 20 70 47 6c 6f 62 61 |iptLevel|, pGloba|
|00004210| 6c 73 44 65 66 4c 69 73 | 74 29 3b 0d 54 68 69 73 |lsDefLis|t);.This|
|00004220| 20 77 69 6c 6c 20 69 6e | 69 74 69 61 6c 69 7a 65 | will in|itialize|
|00004230| 20 74 68 65 20 67 6c 6f | 62 61 6c 73 20 70 61 73 | the glo|bals pas|
|00004240| 73 65 64 20 69 6e 20 76 | 69 61 20 74 68 65 20 73 |sed in v|ia the s|
|00004250| 63 72 69 70 74 20 63 61 | 6c 6c 20 61 62 6f 76 65 |cript ca|ll above|
|00004260| 2e 0d 67 46 69 6c 65 6e | 61 6d 65 20 41 73 73 69 |..gFilen|ame Assi|
|00004270| 67 6e 6d 65 6e 74 20 4d | 6f 76 65 64 0d 67 46 69 |gnment M|oved.gFi|
|00004280| 6c 65 4e 61 6d 65 20 20 | 69 73 20 6e 6f 77 20 64 |leName |is now d|
|00004290| 65 66 69 6e 65 64 20 61 | 66 74 65 72 20 53 75 69 |efined a|fter Sui|
|000042a0| 74 65 53 74 61 72 74 28 | 29 2c 20 61 73 20 66 6f |teStart(|), as fo|
|000042b0| 6c 6c 6f 77 73 3a 0d 53 | 75 69 74 65 53 74 61 72 |llows:.S|uiteStar|
|000042c0| 74 28 27 4d 61 63 57 72 | 69 74 65 2e 76 75 27 29 |t('MacWr|ite.vu')|
|000042d0| 3b 0d 67 6c 6f 62 61 6c | 20 67 46 69 6c 65 4e 61 |;.global| gFileNa|
|000042e0| 6d 65 20 3a 3d 20 22 40 | 21 40 2d 7b 67 42 75 69 |me := "@|!@-{gBui|
|000042f0| 6c 64 56 65 72 73 7d 2d | 7b 67 41 70 70 54 69 74 |ldVers}-|{gAppTit|
|00004300| 6c 65 7d 22 3b 0d 67 42 | 75 69 6c 64 56 65 72 73 |le}";.gB|uildVers|
|00004310| 20 69 73 20 6e 6f 77 20 | 64 65 74 65 72 6d 69 6e | is now |determin|
|00004320| 65 64 20 64 75 72 69 6e | 67 20 53 75 69 74 65 53 |ed durin|g SuiteS|
|00004330| 74 61 72 74 28 29 20 74 | 69 6d 65 2c 20 73 6f 20 |tart() t|ime, so |
|00004340| 67 46 69 6c 65 4e 61 6d | 65 20 6d 75 73 74 20 6e |gFileNam|e must n|
|00004350| 6f 77 20 62 65 20 64 65 | 66 69 6e 65 64 20 73 75 |ow be de|fined su|
|00004360| 62 73 65 71 75 65 6e 74 | 20 74 6f 20 53 75 69 74 |bsequent| to Suit|
|00004370| 65 53 74 61 72 74 28 29 | 2e 0d 4d 61 69 6e 20 70 |eStart()|..Main p|
|00004380| 72 6f 67 72 61 6d 20 65 | 6e 63 6c 6f 73 65 64 20 |rogram e|nclosed |
|00004390| 69 6e 20 54 72 79 2d 43 | 61 74 63 68 20 62 6c 6f |in Try-C|atch blo|
|000043a0| 63 6b 0d 54 68 65 20 6d | 61 69 6e 20 62 6f 64 79 |ck.The m|ain body|
|000043b0| 20 6f 66 20 74 68 65 20 | 71 75 69 63 6b 6c 6f 6f | of the |quickloo|
|000043c0| 6b 20 73 63 72 69 70 74 | 20 69 73 20 6e 6f 77 20 |k script| is now |
|000043d0| 62 72 61 63 6b 65 74 65 | 64 20 69 6e 20 61 20 74 |brackete|d in a t|
|000043e0| 72 79 2d 63 61 74 63 68 | 20 62 6c 6f 63 6b 2c 20 |ry-catch| block, |
|000043f0| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0d 73 63 72 69 |as follo|ws:.scri|
|00004400| 70 74 20 3c 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |pt < app|lication|
|00004410| 20 6e 61 6d 65 20 3e 20 | 28 53 63 72 69 70 74 4c | name > |(ScriptL|
|00004420| 65 76 65 6c 3a 3d 20 2d | 31 2c 20 70 47 6c 6f 62 |evel:= -|1, pGlob|
|00004430| 61 6c 73 44 65 66 4c 69 | 73 74 20 3a 3d 20 7b 7d |alsDefLi|st := {}|
|00004440| 2c 20 70 48 61 6e 64 6c | 65 54 68 72 6f 77 6e 45 |, pHandl|eThrownE|
|00004450| 72 72 6f 72 73 3a 3d 20 | 31 29 3b 0d 62 65 67 69 |rrors:= |1);.begi|
|00004460| 6e 0d 09 74 72 79 20 62 | 65 67 69 6e 0d 09 09 2e |n..try b|egin....|
|00004470| 0d 09 09 2e 0d 09 09 3c | 6d 61 69 6e 20 73 63 72 |.......<|main scr|
|00004480| 69 70 74 20 62 6f 64 79 | 3e 09 0d 09 09 2e 0d 09 |ipt body|>.......|
|00004490| 09 2e 0d 09 65 6e 64 3b | 20 23 20 74 72 79 20 62 |....end;| # try b|
|000044a0| 6c 6f 63 6b 0d 09 63 61 | 74 63 68 20 28 74 68 65 |lock..ca|tch (the|
|000044b0| 45 78 63 65 70 74 69 6f | 6e 29 0d 09 09 45 78 63 |Exceptio|n)...Exc|
|000044c0| 65 70 74 69 6f 6e 44 69 | 73 70 61 74 63 68 65 72 |eptionDi|spatcher|
|000044d0| 28 74 68 65 45 78 63 65 | 70 74 69 6f 6e 2c 20 70 |(theExce|ption, p|
|000044e0| 48 61 6e 64 6c 65 54 68 | 72 6f 77 6e 45 72 72 6f |HandleTh|rownErro|
|000044f0| 72 73 29 3b 0d 65 6e 64 | 3b 20 23 20 73 63 72 69 |rs);.end|; # scri|
|00004500| 70 74 20 62 6c 6f 63 6b | 0d 54 68 69 73 20 77 69 |pt block|.This wi|
|00004510| 6c 6c 20 61 6c 6c 6f 77 | 20 74 68 72 6f 77 6e 20 |ll allow| thrown |
|00004520| 65 78 63 65 70 74 69 6f | 6e 73 20 74 6f 20 62 65 |exceptio|ns to be|
|00004530| 20 63 61 75 67 68 74 20 | 61 6e 64 20 68 61 6e 64 | caught |and hand|
|00004540| 6c 65 64 20 77 69 74 68 | 69 6e 20 74 68 65 20 73 |led with|in the s|
|00004550| 63 72 69 70 74 2c 20 61 | 73 20 64 65 74 65 72 6d |cript, a|s determ|
|00004560| 69 6e 65 64 20 62 79 20 | 74 68 65 20 76 61 6c 75 |ined by |the valu|
|00004570| 65 20 6f 66 20 70 48 61 | 6e 64 6c 65 54 68 72 6f |e of pHa|ndleThro|
|00004580| 77 6e 45 72 72 6f 72 73 | 2c 20 77 68 69 63 68 20 |wnErrors|, which |
|00004590| 69 73 20 70 61 73 73 65 | 64 20 69 6e 74 6f 20 45 |is passe|d into E|
|000045a0| 78 63 65 70 74 69 6f 6e | 44 69 73 70 61 74 63 68 |xception|Dispatch|
|000045b0| 65 72 28 29 2e 0d 0d 41 | 70 70 65 6e 64 69 78 20 |er()...A|ppendix |
|000045c0| 41 20 2d 20 47 6c 6f 62 | 61 6c 73 20 43 68 61 6e |A - Glob|als Chan|
|000045d0| 67 65 73 20 73 69 6e 63 | 65 20 76 31 2e 31 0d 54 |ges sinc|e v1.1.T|
|000045e0| 68 69 73 20 61 70 70 65 | 6e 64 69 78 20 64 6f 63 |his appe|ndix doc|
|000045f0| 75 6d 65 6e 74 73 20 63 | 68 61 6e 67 65 73 20 74 |uments c|hanges t|
|00004600| 6f 20 70 75 62 6c 69 63 | 20 67 6c 6f 62 61 6c 73 |o public| globals|
|00004610| 20 73 69 6e 63 65 20 53 | 50 45 43 20 53 26 4c 20 | since S|PEC S&L |
|00004620| 31 2e 31 2e 0d 47 6c 6f | 62 61 6c 73 20 72 65 6d |1.1..Glo|bals rem|
|00004630| 6f 76 65 64 3a 0d 67 54 | 61 72 67 65 74 43 68 65 |oved:.gT|argetChe|
|00004640| 63 6b 0d 67 4e 6f 74 65 | 42 6f 6f 6b 4f 75 74 70 |ck.gNote|BookOutp|
|00004650| 75 74 0d 67 4c 6f 67 4c | 65 76 65 6c 0d 67 53 65 |ut.gLogL|evel.gSe|
|00004660| 65 64 5a 65 72 6f 0d 47 | 6c 6f 62 61 6c 73 20 61 |edZero.G|lobals a|
|00004670| 64 64 65 64 3a 0d 67 44 | 6f 44 72 61 77 48 6f 6f |dded:.gD|oDrawHoo|
|00004680| 6b 31 09 0d 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |k1..Desc|ription |
|00004690| 3a 0d 09 46 69 72 73 74 | 20 68 6f 6f 6b 20 69 6e |:..First| hook in|
|000046a0| 20 44 6f 44 72 61 77 28 | 29 2e 20 20 43 61 6c 6c | DoDraw(|). Call|
|000046b0| 65 64 20 62 65 66 6f 72 | 65 20 61 6e 79 20 64 72 |ed befor|e any dr|
|000046c0| 61 77 20 6f 70 65 72 61 | 74 69 6f 6e 73 20 6f 63 |aw opera|tions oc|
|000046d0| 63 75 72 2e 0d 50 6f 73 | 73 69 62 6c 65 20 76 61 |cur..Pos|sible va|
|000046e0| 6c 75 65 73 3a 20 0d 09 | 54 61 73 6b 20 0d 43 61 |lues: ..|Task .Ca|
|000046f0| 6e 20 62 65 20 4d 6f 64 | 69 66 69 65 64 3a 20 20 |n be Mod|ified: |
|00004700| 20 59 65 73 0d 55 73 65 | 64 20 62 79 20 3a 20 44 | Yes.Use|d by : D|
|00004710| 6f 44 72 61 77 28 29 2e | 0d 09 09 4d 6f 64 69 66 |oDraw().|...Modif|
|00004720| 69 65 64 20 62 79 20 3a | 20 20 53 63 72 69 70 74 |ied by :| Script|
|00004730| 73 0d 67 44 6f 44 72 61 | 77 48 6f 6f 6b 32 09 0d |s.gDoDra|wHook2..|
|00004740| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 3a 0d 09 53 |Descript|ion :..S|
|00004750| 65 63 6f 6e 64 20 68 6f | 6f 6b 20 69 6e 20 44 6f |econd ho|ok in Do|
|00004760| 44 72 61 77 28 29 2e 20 | 20 43 61 6c 6c 65 64 20 |Draw(). | Called |
|00004770| 61 66 74 65 72 20 64 72 | 61 77 20 6f 70 65 72 61 |after dr|aw opera|
|00004780| 74 69 6f 6e 73 20 77 68 | 65 72 65 20 70 54 65 73 |tions wh|ere pTes|
|00004790| 74 4d 65 74 68 6f 64 20 | 3d 20 32 2e 0d 50 6f 73 |tMethod |= 2..Pos|
|000047a0| 73 69 62 6c 65 20 76 61 | 6c 75 65 73 3a 20 0d 09 |sible va|lues: ..|
|000047b0| 54 61 73 6b 20 0d 43 61 | 6e 20 62 65 20 4d 6f 64 |Task .Ca|n be Mod|
|000047c0| 69 66 69 65 64 3a 20 20 | 20 59 65 73 0d 55 73 65 |ified: | Yes.Use|
|000047d0| 64 20 62 79 20 3a 20 44 | 6f 44 72 61 77 28 29 2e |d by : D|oDraw().|
|000047e0| 0d 09 09 4d 6f 64 69 66 | 69 65 64 20 62 79 20 3a |...Modif|ied by :|
|000047f0| 20 20 53 63 72 69 70 74 | 73 0d 67 44 6f 44 72 61 | Script|s.gDoDra|
|00004800| 77 48 6f 6f 6b 33 09 0d | 44 65 73 63 72 69 70 74 |wHook3..|Descript|
|00004810| 69 6f 6e 20 3a 0d 09 54 | 68 69 72 64 20 68 6f 6f |ion :..T|hird hoo|
|00004820| 6b 20 69 6e 20 44 6f 44 | 72 61 77 28 29 2e 20 20 |k in DoD|raw(). |
|00004830| 43 61 6c 6c 65 64 20 61 | 66 74 65 72 20 61 6c 6c |Called a|fter all|
|00004840| 20 64 72 61 77 69 6e 67 | 20 69 73 20 64 6f 6e 65 | drawing| is done|
|00004850| 2e 0d 50 6f 73 73 69 62 | 6c 65 20 76 61 6c 75 65 |..Possib|le value|
|00004860| 73 3a 20 0d 09 54 61 73 | 6b 20 0d 43 61 6e 20 62 |s: ..Tas|k .Can b|
|00004870| 65 20 4d 6f 64 69 66 69 | 65 64 3a 20 20 20 59 65 |e Modifi|ed: Ye|
|00004880| 73 0d 55 73 65 64 20 62 | 79 20 3a 20 44 6f 44 72 |s.Used b|y : DoDr|
|00004890| 61 77 28 29 2e 0d 09 09 | 4d 6f 64 69 66 69 65 64 |aw()....|Modified|
|000048a0| 20 62 79 20 3a 20 20 53 | 63 72 69 70 74 73 0d 67 | by : S|cripts.g|
|000048b0| 53 65 74 75 70 44 6f 57 | 69 6e 64 6f 77 09 0d 44 |SetupDoW|indow..D|
|000048c0| 65 73 63 72 69 70 74 69 | 6f 6e 20 3a 0d 09 48 6f |escripti|on :..Ho|
|000048d0| 6f 6b 20 69 6e 20 44 6f | 57 69 6e 64 6f 77 28 29 |ok in Do|Window()|
|000048e0| 2e 20 20 43 61 6c 6c 65 | 64 20 69 6d 6d 65 64 69 |. Calle|d immedi|
|000048f0| 61 74 65 6c 79 20 62 65 | 66 6f 72 65 20 61 6e 79 |ately be|fore any|
|00004900| 20 77 69 6e 64 6f 77 20 | 6f 70 65 72 61 74 69 6f | window |operatio|
|00004910| 6e 73 20 61 72 65 20 70 | 65 72 66 6f 72 6d 65 64 |ns are p|erformed|
|00004920| 2e 0d 50 6f 73 73 69 62 | 6c 65 20 76 61 6c 75 65 |..Possib|le value|
|00004930| 73 3a 20 0d 09 54 61 73 | 6b 20 0d 43 61 6e 20 62 |s: ..Tas|k .Can b|
|00004940| 65 20 4d 6f 64 69 66 69 | 65 64 3a 20 20 20 59 65 |e Modifi|ed: Ye|
|00004950| 73 0d 55 73 65 64 20 62 | 79 20 3a 20 44 6f 57 69 |s.Used b|y : DoWi|
|00004960| 6e 64 6f 77 28 29 2e 0d | 09 09 4d 6f 64 69 66 69 |ndow()..|..Modifi|
|00004970| 65 64 20 62 79 20 3a 20 | 20 53 63 72 69 70 74 73 |ed by : | Scripts|
|00004980| 0d 67 46 69 6c 65 4e 61 | 6d 65 09 0d 44 65 73 63 |.gFileNa|me..Desc|
|00004990| 72 69 70 74 69 6f 6e 20 | 3a 0d 09 4e 61 6d 65 20 |ription |:..Name |
|000049a0| 75 73 65 64 20 77 68 65 | 6e 20 73 61 76 69 6e 67 |used whe|n saving|
|000049b0| 20 66 69 6c 65 73 2e 0d | 50 6f 73 73 69 62 6c 65 | files..|Possible|
|000049c0| 20 76 61 6c 75 65 73 3a | 20 0d 09 53 74 72 69 6e | values:| ..Strin|
|000049d0| 67 20 0d 43 61 6e 20 62 | 65 20 4d 6f 64 69 66 69 |g .Can b|e Modifi|
|000049e0| 65 64 3a 20 20 20 59 65 | 73 0d 55 73 65 64 20 62 |ed: Ye|s.Used b|
|000049f0| 79 20 3a 20 44 6f 46 69 | 6c 65 73 28 29 2c 20 53 |y : DoFi|les(), S|
|00004a00| 61 76 65 41 73 28 29 2e | 0d 09 09 4d 6f 64 69 66 |aveAs().|...Modif|
|00004a10| 69 65 64 20 62 79 20 3a | 20 20 53 63 72 69 70 74 |ied by :| Script|
|00004a20| 73 0d 67 44 72 61 77 4f | 62 6a 65 63 74 48 6f 6f |s.gDrawO|bjectHoo|
|00004a30| 6b 09 0d 44 65 73 63 72 | 69 70 74 69 6f 6e 20 3a |k..Descr|iption :|
|00004a40| 0d 09 48 6f 6f 6b 20 66 | 6f 72 20 74 61 73 6b 20 |..Hook f|or task |
|00004a50| 63 61 6c 6c 65 64 20 69 | 6d 6d 65 64 69 61 74 65 |called i|mmediate|
|00004a60| 6c 79 20 61 66 74 65 72 | 20 61 6e 20 6f 62 6a 65 |ly after| an obje|
|00004a70| 63 74 20 69 73 20 64 72 | 61 77 6e 2e 0d 50 6f 73 |ct is dr|awn..Pos|
|00004a80| 73 69 62 6c 65 20 76 61 | 6c 75 65 73 3a 20 0d 09 |sible va|lues: ..|
|00004a90| 54 61 73 6b 20 0d 43 61 | 6e 20 62 65 20 4d 6f 64 |Task .Ca|n be Mod|
|00004aa0| 69 66 69 65 64 3a 20 20 | 20 59 65 73 0d 55 73 65 |ified: | Yes.Use|
|00004ab0| 64 20 62 79 20 3a 20 44 | 72 61 77 4f 62 6a 65 63 |d by : D|rawObjec|
|00004ac0| 74 28 29 2e 0d 09 09 4d | 6f 64 69 66 69 65 64 20 |t()....M|odified |
|00004ad0| 62 79 20 3a 20 20 53 63 | 72 69 70 74 73 0d 67 50 |by : Sc|ripts.gP|
|00004ae0| 61 6c 65 74 74 65 4c 69 | 73 74 09 0d 44 65 73 63 |aletteLi|st..Desc|
|00004af0| 72 69 70 74 69 6f 6e 20 | 3a 0d 09 4c 69 73 74 20 |ription |:..List |
|00004b00| 77 68 69 63 68 20 64 65 | 66 69 6e 65 73 20 73 74 |which de|fines st|
|00004b10| 72 75 63 74 75 72 65 20 | 6f 66 20 74 6f 6f 6c 20 |ructure |of tool |
|00004b20| 70 61 6c 65 74 74 65 28 | 73 29 0d 50 6f 73 73 69 |palette(|s).Possi|
|00004b30| 62 6c 65 20 76 61 6c 75 | 65 73 3a 20 0d 09 4c 69 |ble valu|es: ..Li|
|00004b40| 73 74 20 0d 43 61 6e 20 | 62 65 20 4d 6f 64 69 66 |st .Can |be Modif|
|00004b50| 69 65 64 3a 20 20 20 59 | 65 73 0d 55 73 65 64 20 |ied: Y|es.Used |
|00004b60| 62 79 20 3a 20 53 65 74 | 43 6f 6c 6f 72 28 29 2c |by : Set|Color(),|
|00004b70| 20 53 65 74 4c 69 6e 65 | 28 29 2c 20 53 65 74 50 | SetLine|(), SetP|
|00004b80| 61 6c 65 74 74 65 28 29 | 2c 20 43 68 65 63 6b 53 |alette()|, CheckS|
|00004b90| 65 74 75 70 28 29 2c 20 | 50 61 6c 65 74 74 65 50 |etup(), |PaletteP|
|00004ba0| 69 63 6b 65 72 28 29 2c | 20 43 61 6c 63 4f 66 66 |icker(),| CalcOff|
|00004bb0| 73 65 74 28 29 2c 20 53 | 65 6c 46 72 6f 6d 44 6f |set(), S|elFromDo|
|00004bc0| 63 57 69 6e 64 28 29 2c | 20 53 65 6c 46 72 6f 6d |cWind(),| SelFrom|
|00004bd0| 50 6f 70 55 70 28 29 2c | 20 53 65 6c 46 72 6f 6d |PopUp(),| SelFrom|
|00004be0| 4d 65 6e 75 49 74 65 6d | 50 6f 70 75 70 0d 09 09 |MenuItem|Popup...|
|00004bf0| 4d 6f 64 69 66 69 65 64 | 20 62 79 20 3a 20 20 53 |Modified| by : S|
|00004c00| 63 72 69 70 74 73 0d 67 | 54 6f 6f 6c 4c 69 73 74 |cripts.g|ToolList|
|00004c10| 09 0d 44 65 73 63 72 69 | 70 74 69 6f 6e 20 3a 0d |..Descri|ption :.|
|00004c20| 09 4c 69 73 74 20 77 68 | 69 63 68 20 64 65 66 69 |.List wh|ich defi|
|00004c30| 6e 65 73 20 64 72 61 77 | 20 74 6f 6f 6c 73 0d 50 |nes draw| tools.P|
|00004c40| 6f 73 73 69 62 6c 65 20 | 76 61 6c 75 65 73 3a 20 |ossible |values: |
|00004c50| 0d 09 4c 69 73 74 20 0d | 43 61 6e 20 62 65 20 4d |..List .|Can be M|
|00004c60| 6f 64 69 66 69 65 64 3a | 20 20 20 59 65 73 0d 55 |odified:| Yes.U|
|00004c70| 73 65 64 20 62 79 20 3a | 20 44 6f 44 72 61 77 28 |sed by :| DoDraw(|
|00004c80| 29 2c 20 53 65 74 54 6f | 6f 6c 28 29 0d 09 09 4d |), SetTo|ol()...M|
|00004c90| 6f 64 69 66 69 65 64 20 | 62 79 20 3a 20 20 53 63 |odified |by : Sc|
|00004ca0| 72 69 70 74 73 0d 67 45 | 78 63 65 70 74 69 6f 6e |ripts.gE|xception|
|00004cb0| 48 61 6e 64 6c 65 72 4c | 69 73 74 09 0d 44 65 73 |HandlerL|ist..Des|
|00004cc0| 63 72 69 70 74 69 6f 6e | 20 3a 0d 09 4c 69 73 74 |cription| :..List|
|00004cd0| 20 77 68 69 63 68 20 64 | 65 66 69 6e 65 73 20 65 | which d|efines e|
|00004ce0| 78 63 65 70 74 69 6f 6e | 20 68 61 6e 64 6c 69 6e |xception| handlin|
|00004cf0| 67 20 72 6f 75 74 69 6e | 65 73 2e 20 20 53 65 65 |g routin|es. See|
|00004d00| 20 73 65 63 74 69 6f 6e | 20 65 6e 74 69 74 6c 65 | section| entitle|
|00004d10| 64 20 22 45 78 63 65 70 | 74 69 6f 6e 20 48 61 6e |d "Excep|tion Han|
|00004d20| 64 6c 69 6e 67 20 69 6e | 20 53 50 45 43 20 53 26 |dling in| SPEC S&|
|00004d30| 4c 22 20 66 6f 72 20 6d | 6f 72 65 20 64 65 74 61 |L" for m|ore deta|
|00004d40| 69 6c 73 2e 0d 50 6f 73 | 73 69 62 6c 65 20 76 61 |ils..Pos|sible va|
|00004d50| 6c 75 65 73 3a 20 0d 09 | 4c 69 73 74 20 0d 43 61 |lues: ..|List .Ca|
|00004d60| 6e 20 62 65 20 4d 6f 64 | 69 66 69 65 64 3a 20 20 |n be Mod|ified: |
|00004d70| 20 59 65 73 0d 55 73 65 | 64 20 62 79 20 3a 20 41 | Yes.Use|d by : A|
|00004d80| 64 64 45 78 63 65 70 74 | 69 6f 6e 48 61 6e 64 6c |ddExcept|ionHandl|
|00004d90| 65 72 28 29 2c 20 52 65 | 6d 6f 76 65 45 78 63 65 |er(), Re|moveExce|
|00004da0| 70 74 69 6f 6e 48 61 6e | 64 6c 65 72 28 29 2c 20 |ptionHan|dler(), |
|00004db0| 45 78 63 65 70 74 69 6f | 6e 44 69 73 70 61 74 63 |Exceptio|nDispatc|
|00004dc0| 68 65 72 28 29 2c 20 49 | 6e 69 74 47 6c 6f 62 61 |her(), I|nitGloba|
|00004dd0| 6c 73 28 29 0d 09 09 4d | 6f 64 69 66 69 65 64 20 |ls()...M|odified |
|00004de0| 62 79 20 3a 20 20 49 6e | 69 74 47 6c 6f 62 61 6c |by : In|itGlobal|
|00004df0| 73 28 29 2c 20 49 6e 69 | 74 43 75 73 74 6f 6d 28 |s(), Ini|tCustom(|
|00004e00| 29 2c 20 53 63 72 69 70 | 74 73 0d 67 53 70 65 63 |), Scrip|ts.gSpec|
|00004e10| 69 61 6c 45 78 63 65 70 | 74 69 6f 6e 48 61 6e 64 |ialExcep|tionHand|
|00004e20| 6c 65 72 73 09 0d 44 65 | 73 63 72 69 70 74 69 6f |lers..De|scriptio|
|00004e30| 6e 20 3a 0d 09 4c 69 73 | 74 20 77 68 69 63 68 20 |n :..Lis|t which |
|00004e40| 64 65 66 69 6e 65 73 20 | 73 70 65 63 69 61 6c 20 |defines |special |
|00004e50| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 69 |exceptio|n handli|
|00004e60| 6e 67 20 72 6f 75 74 69 | 6e 65 73 20 66 6f 72 20 |ng routi|nes for |
|00004e70| 67 72 6f 75 70 73 20 6f | 66 20 65 78 63 65 70 74 |groups o|f except|
|00004e80| 69 6f 6e 73 2e 20 20 53 | 65 65 20 73 65 63 74 69 |ions. S|ee secti|
|00004e90| 6f 6e 20 65 6e 74 69 74 | 6c 65 64 20 22 45 78 63 |on entit|led "Exc|
|00004ea0| 65 70 74 69 6f 6e 20 48 | 61 6e 64 6c 69 6e 67 20 |eption H|andling |
|00004eb0| 69 6e 20 53 50 45 43 20 | 53 26 4c 22 20 66 6f 72 |in SPEC |S&L" for|
|00004ec0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0d 50 | more de|tails..P|
|00004ed0| 6f 73 73 69 62 6c 65 20 | 76 61 6c 75 65 73 3a 20 |ossible |values: |
|00004ee0| 0d 09 4c 69 73 74 20 0d | 43 61 6e 20 62 65 20 4d |..List .|Can be M|
|00004ef0| 6f 64 69 66 69 65 64 3a | 20 20 20 59 65 73 0d 55 |odified:| Yes.U|
|00004f00| 73 65 64 20 62 79 20 3a | 20 53 70 65 63 69 61 6c |sed by :| Special|
|00004f10| 48 61 6e 64 6c 65 72 73 | 28 29 0d 09 09 4d 6f 64 |Handlers|()...Mod|
|00004f20| 69 66 69 65 64 20 62 79 | 20 3a 20 20 49 6e 69 74 |ified by| : Init|
|00004f30| 47 6c 6f 62 61 6c 73 28 | 29 2c 20 49 6e 69 74 43 |Globals(|), InitC|
|00004f40| 75 73 74 6f 6d 28 29 2c | 20 53 63 72 69 70 74 73 |ustom(),| Scripts|
|00004f50| 0d 67 52 65 70 6f 72 74 | 53 65 6c 65 63 74 65 64 |.gReport|Selected|
|00004f60| 4d 65 6e 75 49 74 65 6d | 73 48 6f 6f 6b 31 09 0d |MenuItem|sHook1..|
|00004f70| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 3a 0d 09 48 |Descript|ion :..H|
|00004f80| 6f 6f 6b 20 66 6f 72 20 | 74 61 73 6b 20 63 61 6c |ook for |task cal|
|00004f90| 6c 65 64 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 20 |led imme|diately |
|00004fa0| 62 65 66 6f 72 65 20 73 | 65 6c 65 63 74 65 64 20 |before s|elected |
|00004fb0| 6d 65 6e 75 20 69 74 65 | 6d 73 20 61 72 65 20 72 |menu ite|ms are r|
|00004fc0| 65 70 6f 72 74 65 64 2e | 0d 50 6f 73 73 69 62 6c |eported.|.Possibl|
|00004fd0| 65 20 76 61 6c 75 65 73 | 3a 20 0d 09 4c 69 73 74 |e values|: ..List|
|00004fe0| 20 0d 43 61 6e 20 62 65 | 20 4d 6f 64 69 66 69 65 | .Can be| Modifie|
|00004ff0| 64 3a 20 20 20 59 65 73 | 0d 55 73 65 64 20 62 79 |d: Yes|.Used by|
|00005000| 20 3a 20 53 70 65 63 69 | 61 6c 48 61 6e 64 6c 65 | : Speci|alHandle|
|00005010| 72 73 28 29 0d 09 09 4d | 6f 64 69 66 69 65 64 20 |rs()...M|odified |
|00005020| 62 79 20 3a 20 20 49 6e | 69 74 47 6c 6f 62 61 6c |by : In|itGlobal|
|00005030| 73 28 29 2c 20 49 6e 69 | 74 43 75 73 74 6f 6d 28 |s(), Ini|tCustom(|
|00005040| 29 2c 20 53 63 72 69 70 | 74 73 0d 67 43 6f 6d 6d |), Scrip|ts.gComm|
|00005050| 61 6e 64 45 78 63 65 70 | 74 69 6f 6e 73 09 0d 44 |andExcep|tions..D|
|00005060| 65 73 63 72 69 70 74 69 | 6f 6e 20 3a 0d 09 46 6c |escripti|on :..Fl|
|00005070| 61 67 20 66 6f 72 20 56 | 69 72 74 75 61 6c 20 55 |ag for V|irtual U|
|00005080| 73 65 72 20 43 6f 6d 6d | 61 6e 64 20 45 78 63 65 |ser Comm|and Exce|
|00005090| 70 74 69 6f 6e 73 20 6d | 65 63 68 61 6e 69 73 6d |ptions m|echanism|
|000050a0| 0d 50 6f 73 73 69 62 6c | 65 20 76 61 6c 75 65 73 |.Possibl|e values|
|000050b0| 3a 20 0d 09 42 6f 6f 6c | 65 61 6e 2e 20 0d 43 61 |: ..Bool|ean. .Ca|
|000050c0| 6e 20 62 65 20 4d 6f 64 | 69 66 69 65 64 3a 20 20 |n be Mod|ified: |
|000050d0| 20 59 65 73 0d 55 73 65 | 64 20 62 79 20 3a 20 49 | Yes.Use|d by : I|
|000050e0| 6e 69 74 47 6c 6f 62 61 | 6c 73 28 29 0d 09 09 4d |nitGloba|ls()...M|
|000050f0| 6f 64 69 66 69 65 64 20 | 62 79 20 3a 20 20 49 6e |odified |by : In|
|00005100| 69 74 47 6c 6f 62 61 6c | 73 28 29 2c 20 49 6e 69 |itGlobal|s(), Ini|
|00005110| 74 43 75 73 74 6f 6d 28 | 29 2c 20 53 63 72 69 70 |tCustom(|), Scrip|
|00005120| 74 73 0d 67 54 65 73 74 | 43 61 73 65 4c 6f 67 67 |ts.gTest|CaseLogg|
|00005130| 69 6e 67 4d 65 74 68 6f | 64 09 0d 44 65 73 63 72 |ingMetho|d..Descr|
|00005140| 69 70 74 69 6f 6e 20 3a | 0d 09 44 65 74 65 72 6d |iption :|..Determ|
|00005150| 69 6e 65 73 20 77 68 69 | 63 68 20 54 65 73 74 20 |ines whi|ch Test |
|00005160| 43 61 73 65 20 6c 6f 67 | 67 69 6e 67 20 6d 65 74 |Case log|ging met|
|00005170| 68 6f 64 20 77 69 6c 6c | 20 62 65 20 75 73 65 64 |hod will| be used|
|00005180| 2e 0d 50 6f 73 73 69 62 | 6c 65 20 76 61 6c 75 65 |..Possib|le value|
|00005190| 73 3a 20 0d 09 30 20 2d | 20 6e 6f 20 74 65 73 74 |s: ..0 -| no test|
|000051a0| 20 63 61 73 65 20 6c 6f | 67 67 69 6e 67 20 77 69 | case lo|gging wi|
|000051b0| 6c 6c 20 62 65 20 70 65 | 72 66 6f 72 65 64 0d 09 |ll be pe|rfored..|
|000051c0| 31 20 2d 20 74 65 73 74 | 20 63 61 73 65 20 6c 6f |1 - test| case lo|
|000051d0| 67 67 69 6e 67 20 62 79 | 20 52 65 73 75 6c 74 73 |gging by| Results|
|000051e0| 20 45 78 70 72 65 73 73 | 20 6d 65 74 68 6f 64 0d | Express| method.|
|000051f0| 43 61 6e 20 62 65 20 4d | 6f 64 69 66 69 65 64 3a |Can be M|odified:|
|00005200| 20 20 20 59 65 73 0d 55 | 73 65 64 20 62 79 20 3a | Yes.U|sed by :|
|00005210| 20 49 6e 69 74 47 6c 6f | 62 61 6c 73 28 29 2c 20 | InitGlo|bals(), |
|00005220| 49 6e 69 74 54 43 53 4c | 6f 67 67 69 6e 67 28 29 |InitTCSL|ogging()|
|00005230| 2c 20 53 75 69 74 65 53 | 74 61 72 74 28 29 2c 20 |, SuiteS|tart(), |
|00005240| 53 75 69 74 65 45 6e 64 | 28 29 2c 20 54 43 53 45 |SuiteEnd|(), TCSE|
|00005250| 6e 64 2c 20 53 65 74 55 | 70 4f 75 74 70 75 74 28 |nd, SetU|pOutput(|
|00005260| 29 0d 09 09 4d 6f 64 69 | 66 69 65 64 20 62 79 20 |)...Modi|fied by |
|00005270| 3a 20 20 49 6e 69 74 47 | 6c 6f 62 61 6c 73 28 29 |: InitG|lobals()|
|00005280| 2c 20 49 6e 69 74 43 75 | 73 74 6f 6d 28 29 2c 20 |, InitCu|stom(), |
|00005290| 53 63 72 69 70 74 73 0d | 67 50 72 65 46 6c 69 67 |Scripts.|gPreFlig|
|000052a0| 68 74 09 0d 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |ht..Desc|ription |
|000052b0| 3a 0d 09 46 6c 61 67 20 | 66 6f 72 20 63 6f 6e 66 |:..Flag |for conf|
|000052c0| 69 67 75 72 61 74 69 6f | 6e 20 63 68 65 63 6b 20 |iguratio|n check |
|000052d0| 62 65 66 6f 72 65 20 61 | 70 70 6c 69 63 61 74 69 |before a|pplicati|
|000052e0| 6f 6e 20 6c 61 75 6e 63 | 68 2e 0d 50 6f 73 73 69 |on launc|h..Possi|
|000052f0| 62 6c 65 20 76 61 6c 75 | 65 73 3a 20 0d 09 42 6f |ble valu|es: ..Bo|
|00005300| 6f 6c 65 61 6e 0d 43 61 | 6e 20 62 65 20 4d 6f 64 |olean.Ca|n be Mod|
|00005310| 69 66 69 65 64 3a 20 20 | 20 59 65 73 0d 55 73 65 |ified: | Yes.Use|
|00005320| 64 20 62 79 20 3a 20 49 | 6e 69 74 47 6c 6f 62 61 |d by : I|nitGloba|
|00005330| 6c 73 28 29 2c 20 4c 61 | 75 6e 63 68 54 77 69 74 |ls(), La|unchTwit|
|00005340| 63 68 28 29 0d 09 09 4d | 6f 64 69 66 69 65 64 20 |ch()...M|odified |
|00005350| 62 79 20 3a 20 20 49 6e | 69 74 47 6c 6f 62 61 6c |by : In|itGlobal|
|00005360| 73 28 29 2c 20 49 6e 69 | 74 43 75 73 74 6f 6d 28 |s(), Ini|tCustom(|
|00005370| 29 2c 20 53 63 72 69 70 | 74 73 0d 67 4c 61 75 6e |), Scrip|ts.gLaun|
|00005380| 63 68 52 65 71 73 09 0d | 44 65 73 63 72 69 70 74 |chReqs..|Descript|
|00005390| 69 6f 6e 20 3a 0d 09 43 | 6f 6e 66 69 67 75 72 61 |ion :..C|onfigura|
|000053a0| 74 69 6f 6e 20 72 65 71 | 75 69 72 65 6d 65 6e 74 |tion req|uirement|
|000053b0| 73 20 66 6f 72 20 61 70 | 70 6c 69 63 61 74 69 6f |s for ap|plicatio|
|000053c0| 6e 20 74 6f 20 62 65 20 | 6c 61 75 6e 63 68 65 64 |n to be |launched|
|000053d0| 2e 20 20 4f 6e 6c 79 20 | 75 73 65 64 20 69 66 20 |. Only |used if |
|000053e0| 67 50 72 65 46 6c 69 67 | 68 74 20 69 73 20 73 65 |gPreFlig|ht is se|
|000053f0| 74 20 4f 4e 2e 0d 50 6f | 73 73 69 62 6c 65 20 76 |t ON..Po|ssible v|
|00005400| 61 6c 75 65 73 3a 20 0d | 09 6c 69 73 74 20 63 6f |alues: .|.list co|
|00005410| 6d 70 6f 73 65 64 20 6f | 66 20 6f 6e 65 20 6f 72 |mposed o|f one or|
|00005420| 20 6d 6f 72 65 20 6f 66 | 20 74 68 65 20 66 6f 6c | more of| the fol|
|00005430| 6c 6f 77 69 6e 67 3a 0d | 09 09 09 27 66 70 75 27 |lowing:.|...'fpu'|
|00005440| 20 2d 20 66 70 75 20 72 | 65 71 75 69 72 65 64 0d | - fpu r|equired.|
|00005450| 09 09 09 27 63 6f 6c 6f | 72 27 20 20 2d 20 63 6f |...'colo|r' - co|
|00005460| 6c 6f 72 20 72 65 71 75 | 69 72 65 64 0d 09 09 09 |lor requ|ired....|
|00005470| 27 38 62 64 27 20 2d 20 | 38 20 62 69 74 20 64 65 |'8bd' - |8 bit de|
|00005480| 70 74 68 2e 20 72 65 71 | 75 69 72 65 64 0d 09 09 |pth. req|uired...|
|00005490| 09 27 6e 6f 36 38 30 30 | 30 27 27 20 2d 20 6e 6f |.'no6800|0'' - no|
|000054a0| 6e 2d 36 38 30 30 30 20 | 6d 61 63 68 69 6e 65 73 |n-68000 |machines|
|000054b0| 20 72 65 71 75 69 72 65 | 64 0d 09 09 09 27 6e 6f | require|d....'no|
|000054c0| 43 61 63 68 65 27 20 2d | 20 27 30 34 30 20 63 61 |Cache' -| '040 ca|
|000054d0| 63 68 65 20 74 75 72 6e | 65 64 20 6f 66 66 2e 20 |che turn|ed off. |
|000054e0| 72 65 71 75 69 72 65 64 | 0d 09 09 09 27 6e 6f 33 |required|....'no3|
|000054f0| 32 27 20 2d 20 33 32 20 | 62 69 74 20 61 64 64 72 |2' - 32 |bit addr|
|00005500| 65 73 73 69 6e 67 20 74 | 75 72 6e 65 64 20 6f 66 |essing t|urned of|
|00005510| 66 20 72 65 71 75 69 72 | 65 64 0d 09 09 09 27 36 |f requir|ed....'6|
|00005520| 38 6b 41 72 63 68 27 20 | 2d 20 36 38 6b 20 62 61 |8kArch' |- 68k ba|
|00005530| 73 65 64 20 63 70 75 20 | 72 65 71 75 69 72 65 64 |sed cpu |required|
|00005540| 0d 09 09 09 27 50 6f 77 | 65 72 50 43 41 72 63 68 |....'Pow|erPCArch|
|00005550| 27 20 2d 20 50 6f 77 65 | 72 50 43 20 63 70 75 20 |' - Powe|rPC cpu |
|00005560| 72 65 71 75 69 72 65 64 | 0d 43 61 6e 20 62 65 20 |required|.Can be |
|00005570| 4d 6f 64 69 66 69 65 64 | 3a 20 20 20 59 65 73 0d |Modified|: Yes.|
|00005580| 55 73 65 64 20 62 79 20 | 3a 20 49 6e 69 74 47 6c |Used by |: InitGl|
|00005590| 6f 62 61 6c 73 28 29 2c | 20 4c 61 75 6e 63 68 54 |obals(),| LaunchT|
|000055a0| 77 69 74 63 68 28 29 0d | 09 09 4d 6f 64 69 66 69 |witch().|..Modifi|
|000055b0| 65 64 20 62 79 20 3a 20 | 20 49 6e 69 74 47 6c 6f |ed by : | InitGlo|
|000055c0| 62 61 6c 73 28 29 2c 20 | 49 6e 69 74 43 75 73 74 |bals(), |InitCust|
|000055d0| 6f 6d 28 29 2c 20 53 63 | 72 69 70 74 73 0d 67 52 |om(), Sc|ripts.gR|
|000055e0| 65 70 6c 61 63 65 45 78 | 69 73 74 48 6f 6f 6b 31 |eplaceEx|istHook1|
|000055f0| 09 0d 44 65 73 63 72 69 | 70 74 69 6f 6e 20 3a 0d |..Descri|ption :.|
|00005600| 09 46 69 72 73 74 20 68 | 6f 6f 6b 20 69 6e 20 52 |.First h|ook in R|
|00005610| 65 70 6c 61 63 65 45 78 | 69 73 74 28 29 2e 20 20 |eplaceEx|ist(). |
|00005620| 43 61 6c 6c 65 64 20 62 | 65 66 6f 72 65 20 61 6e |Called b|efore an|
|00005630| 79 20 68 61 6e 64 6c 69 | 6e 67 20 6f 66 20 22 52 |y handli|ng of "R|
|00005640| 65 70 6c 61 63 65 20 45 | 78 69 73 74 69 6e 67 22 |eplace E|xisting"|
|00005650| 20 64 69 61 6c 6f 67 2e | 0d 50 6f 73 73 69 62 6c | dialog.|.Possibl|
|00005660| 65 20 76 61 6c 75 65 73 | 3a 20 0d 09 54 61 73 6b |e values|: ..Task|
|00005670| 20 0d 43 61 6e 20 62 65 | 20 4d 6f 64 69 66 69 65 | .Can be| Modifie|
|00005680| 64 3a 20 20 20 59 65 73 | 0d 55 73 65 64 20 62 79 |d: Yes|.Used by|
|00005690| 20 3a 20 52 65 70 6c 61 | 63 65 45 78 69 73 74 28 | : Repla|ceExist(|
|000056a0| 29 2e 0d 09 09 4d 6f 64 | 69 66 69 65 64 20 62 79 |)....Mod|ified by|
|000056b0| 20 3a 20 20 53 63 72 69 | 70 74 73 0d 67 52 65 70 | : Scri|pts.gRep|
|000056c0| 6c 61 63 65 45 78 69 73 | 74 48 6f 6f 6b 31 09 0d |laceExis|tHook1..|
|000056d0| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 3a 0d 09 46 |Descript|ion :..F|
|000056e0| 69 72 73 74 20 68 6f 6f | 6b 20 69 6e 20 52 65 70 |irst hoo|k in Rep|
|000056f0| 6c 61 63 65 45 78 69 73 | 74 28 29 2e 20 20 43 61 |laceExis|t(). Ca|
|00005700| 6c 6c 65 64 20 62 65 66 | 6f 72 65 20 61 6e 79 20 |lled bef|ore any |
|00005710| 68 61 6e 64 6c 69 6e 67 | 20 6f 66 20 22 52 65 70 |handling| of "Rep|
|00005720| 6c 61 63 65 20 45 78 69 | 73 74 69 6e 67 22 20 64 |lace Exi|sting" d|
|00005730| 69 61 6c 6f 67 2e 0d 50 | 6f 73 73 69 62 6c 65 20 |ialog..P|ossible |
|00005740| 76 61 6c 75 65 73 3a 20 | 0d 09 54 61 73 6b 20 0d |values: |..Task .|
|00005750| 43 61 6e 20 62 65 20 4d | 6f 64 69 66 69 65 64 3a |Can be M|odified:|
|00005760| 20 20 20 59 65 73 0d 55 | 73 65 64 20 62 79 20 3a | Yes.U|sed by :|
|00005770| 20 52 65 70 6c 61 63 65 | 45 78 69 73 74 28 29 2e | Replace|Exist().|
|00005780| 0d 09 09 4d 6f 64 69 66 | 69 65 64 20 62 79 20 3a |...Modif|ied by :|
|00005790| 20 20 53 63 72 69 70 74 | 73 0d 67 52 65 70 6c 61 | Script|s.gRepla|
|000057a0| 63 65 45 78 69 73 74 48 | 6f 6f 6b 32 09 0d 44 65 |ceExistH|ook2..De|
|000057b0| 73 63 72 69 70 74 69 6f | 6e 20 3a 0d 09 53 65 63 |scriptio|n :..Sec|
|000057c0| 6f 6e 64 20 68 6f 6f 6b | 20 69 6e 20 52 65 70 6c |ond hook| in Repl|
|000057d0| 61 63 65 45 78 69 73 74 | 28 29 2e 20 20 43 61 6c |aceExist|(). Cal|
|000057e0| 6c 65 64 20 61 66 74 65 | 72 20 61 6e 79 20 68 61 |led afte|r any ha|
|000057f0| 6e 64 6c 69 6e 67 20 6f | 66 20 22 52 65 70 6c 61 |ndling o|f "Repla|
|00005800| 63 65 20 45 78 69 73 74 | 69 6e 67 22 20 64 69 61 |ce Exist|ing" dia|
|00005810| 6c 6f 67 2e 0d 50 6f 73 | 73 69 62 6c 65 20 76 61 |log..Pos|sible va|
|00005820| 6c 75 65 73 3a 20 0d 09 | 54 61 73 6b 20 0d 43 61 |lues: ..|Task .Ca|
|00005830| 6e 20 62 65 20 4d 6f 64 | 69 66 69 65 64 3a 20 20 |n be Mod|ified: |
|00005840| 20 59 65 73 0d 55 73 65 | 64 20 62 79 20 3a 20 52 | Yes.Use|d by : R|
|00005850| 65 70 6c 61 63 65 45 78 | 69 73 74 28 29 2e 0d 09 |eplaceEx|ist()...|
|00005860| 09 4d 6f 64 69 66 69 65 | 64 20 62 79 20 3a 20 20 |.Modifie|d by : |
|00005870| 53 63 72 69 70 74 73 0d | 67 52 65 70 6c 61 63 65 |Scripts.|gReplace|
|00005880| 45 78 69 73 74 69 6e 67 | 09 0d 44 65 73 63 72 69 |Existing|..Descri|
|00005890| 70 74 69 6f 6e 20 3a 0d | 09 48 6f 6f 6b 20 66 6f |ption :.|.Hook fo|
|000058a0| 72 20 6f 76 65 72 72 69 | 64 69 6e 67 20 74 68 65 |r overri|ding the|
|000058b0| 20 63 61 6c 6c 20 74 6f | 20 52 65 70 6c 61 63 65 | call to| Replace|
|000058c0| 45 78 69 73 74 28 29 20 | 69 6e 20 53 61 76 65 41 |Exist() |in SaveA|
|000058d0| 73 28 29 20 77 69 74 68 | 20 61 20 63 75 73 74 6f |s() with| a custo|
|000058e0| 6d 20 74 61 73 6b 2e 0d | 50 6f 73 73 69 62 6c 65 |m task..|Possible|
|000058f0| 20 76 61 6c 75 65 73 3a | 20 0d 09 54 61 73 6b 20 | values:| ..Task |
|00005900| 0d 43 61 6e 20 62 65 20 | 4d 6f 64 69 66 69 65 64 |.Can be |Modified|
|00005910| 3a 20 20 20 59 65 73 0d | 55 73 65 64 20 62 79 20 |: Yes.|Used by |
|00005920| 3a 20 53 61 76 65 41 73 | 28 29 2e 0d 09 09 4d 6f |: SaveAs|()....Mo|
|00005930| 64 69 66 69 65 64 20 62 | 79 20 3a 20 20 53 63 72 |dified b|y : Scr|
|00005940| 69 70 74 73 0d 67 43 72 | 61 73 68 48 61 6e 64 6c |ipts.gCr|ashHandl|
|00005950| 69 6e 67 09 0d 44 65 73 | 63 72 69 70 74 69 6f 6e |ing..Des|cription|
|00005960| 20 3a 0d 09 46 6c 61 67 | 20 66 6f 72 20 53 50 45 | :..Flag| for SPE|
|00005970| 43 20 53 26 4c 20 64 65 | 66 61 75 6c 74 20 63 72 |C S&L de|fault cr|
|00005980| 61 73 68 ca 68 61 6e 64 | 6c 69 6e 67 20 6d 65 63 |ash.hand|ling mec|
|00005990| 68 61 6e 69 73 6d 2e 20 | 20 53 65 65 20 73 65 63 |hanism. | See sec|
|000059a0| 74 69 6f 6e 20 65 6e 74 | 69 74 6c 65 64 20 22 43 |tion ent|itled "C|
|000059b0| 72 61 73 68 20 48 61 6e | 64 6c 69 6e 67 22 20 66 |rash Han|dling" f|
|000059c0| 6f 72 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 73 2e |or more |details.|
|000059d0| 0d 50 6f 73 73 69 62 6c | 65 20 76 61 6c 75 65 73 |.Possibl|e values|
|000059e0| 3a 20 0d 09 42 6f 6f 6c | 65 61 6e 0d 43 61 6e 20 |: ..Bool|ean.Can |
|000059f0| 62 65 20 4d 6f 64 69 66 | 69 65 64 3a 20 20 20 59 |be Modif|ied: Y|
|00005a00| 65 73 0d 55 73 65 64 20 | 62 79 20 3a 20 49 6e 73 |es.Used |by : Ins|
|00005a10| 74 61 6c 6c 45 76 65 72 | 79 54 69 6d 65 4d 61 63 |tallEver|yTimeMac|
|00005a20| 72 6f 28 29 2c 20 49 6e | 69 74 47 6c 6f 62 61 6c |ro(), In|itGlobal|
|00005a30| 73 28 29 2c 20 53 75 69 | 74 65 53 74 61 72 74 28 |s(), Sui|teStart(|
|00005a40| 29 0d 09 09 4d 6f 64 69 | 66 69 65 64 20 62 79 20 |)...Modi|fied by |
|00005a50| 3a 20 20 49 6e 69 74 47 | 6c 6f 62 61 6c 73 28 29 |: InitG|lobals()|
|00005a60| 2c 20 49 6e 69 74 43 75 | 73 74 6f 6d 28 29 2c 20 |, InitCu|stom(), |
|00005a70| 53 63 72 69 70 74 73 0d | 67 50 72 69 6e 74 53 75 |Scripts.|gPrintSu|
|00005a80| 69 74 65 49 6e 66 6f 09 | 0d 44 65 73 63 72 69 70 |iteInfo.|.Descrip|
|00005a90| 74 69 6f 6e 20 3a 0d 09 | 46 6c 61 67 20 75 73 65 |tion :..|Flag use|
|00005aa0| 64 20 74 6f 20 70 72 69 | 6e 74 20 73 75 69 74 65 |d to pri|nt suite|
|00005ab0| 20 68 65 61 64 65 72 20 | 69 6e 66 6f 72 6d 61 74 | header |informat|
|00005ac0| 69 6f 6e 20 74 6f 20 74 | 68 65 20 6e 6f 74 65 62 |ion to t|he noteb|
|00005ad0| 6f 6f 6b 2e 0d 50 6f 73 | 73 69 62 6c 65 20 76 61 |ook..Pos|sible va|
|00005ae0| 6c 75 65 73 3a 20 0d 09 | 42 6f 6f 6c 65 61 6e 0d |lues: ..|Boolean.|
|00005af0| 43 61 6e 20 62 65 20 4d | 6f 64 69 66 69 65 64 3a |Can be M|odified:|
|00005b00| 20 20 20 59 65 73 0d 55 | 73 65 64 20 62 79 20 3a | Yes.U|sed by :|
|00005b10| 20 53 75 69 74 65 53 74 | 61 72 74 28 29 2c 20 53 | SuiteSt|art(), S|
|00005b20| 75 69 74 65 45 6e 64 28 | 29 0d 09 09 4d 6f 64 69 |uiteEnd(|)...Modi|
|00005b30| 66 69 65 64 20 62 79 20 | 3a 20 20 49 6e 69 74 47 |fied by |: InitG|
|00005b40| 6c 6f 62 61 6c 73 28 29 | 2c 20 49 6e 69 74 43 75 |lobals()|, InitCu|
|00005b50| 73 74 6f 6d 28 29 2c 20 | 53 63 72 69 70 74 73 0d |stom(), |Scripts.|
|00005b60| 67 41 64 64 69 74 69 6f | 6e 61 6c 54 61 72 67 65 |gAdditio|nalTarge|
|00005b70| 74 49 6e 66 6f 09 0d 44 | 65 73 63 72 69 70 74 69 |tInfo..D|escripti|
|00005b80| 6f 6e 20 3a 0d 09 46 6c | 61 67 20 66 6f 72 20 61 |on :..Fl|ag for a|
|00005b90| 64 64 69 74 69 6f 6e 61 | 6c 20 74 61 72 67 65 74 |dditiona|l target|
|00005ba0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 2d 20 6d | informa|tion - m|
|00005bb0| 65 6d 6f 72 79 20 70 72 | 6f 66 69 6c 69 6e 67 20 |emory pr|ofiling |
|00005bc0| 61 6e 64 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |and appl|ication |
|00005bd0| 74 79 70 65 20 61 6e 64 | 20 76 65 72 73 69 6f 6e |type and| version|
|00005be0| 2e 0d 50 6f 73 73 69 62 | 6c 65 20 76 61 6c 75 65 |..Possib|le value|
|00005bf0| 73 3a 20 0d 09 42 6f 6f | 6c 65 61 6e 0d 43 61 6e |s: ..Boo|lean.Can|
|00005c00| 20 62 65 20 4d 6f 64 69 | 66 69 65 64 3a 20 20 20 | be Modi|fied: |
|00005c10| 59 65 73 0d 55 73 65 64 | 20 62 79 20 3a 20 53 63 |Yes.Used| by : Sc|
|00005c20| 72 61 70 62 6f 6f 6b 28 | 29 2c 20 44 6f 53 65 74 |rapbook(|), DoSet|
|00005c30| 55 70 41 70 70 28 29 2c | 20 53 75 69 74 65 53 74 |UpApp(),| SuiteSt|
|00005c40| 61 72 74 28 29 0d 09 09 | 4d 6f 64 69 66 69 65 64 |art()...|Modified|
|00005c50| 20 62 79 20 3a 20 20 49 | 6e 69 74 47 6c 6f 62 61 | by : I|nitGloba|
|00005c60| 6c 73 28 29 2c 20 49 6e | 69 74 43 75 73 74 6f 6d |ls(), In|itCustom|
|00005c70| 28 29 2c 20 53 63 72 69 | 70 74 73 0d 67 54 43 53 |(), Scri|pts.gTCS|
|00005c80| 45 6e 64 48 6f 6f 6b 31 | 09 0d 44 65 73 63 72 69 |EndHook1|..Descri|
|00005c90| 70 74 69 6f 6e 20 3a 0d | 09 48 6f 6f 6b 20 66 6f |ption :.|.Hook fo|
|00005ca0| 72 20 74 61 73 6b 20 74 | 6f 20 62 65 20 63 61 6c |r task t|o be cal|
|00005cb0| 6c 65 64 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 20 |led imme|diately |
|00005cc0| 62 65 66 6f 72 65 20 61 | 20 54 43 53 20 69 73 20 |before a| TCS is |
|00005cd0| 6c 6f 67 67 65 64 2e 0d | 50 6f 73 73 69 62 6c 65 |logged..|Possible|
|00005ce0| 20 76 61 6c 75 65 73 3a | 20 0d 09 54 61 73 6b 0d | values:| ..Task.|
|00005cf0| 43 61 6e 20 62 65 20 4d | 6f 64 69 66 69 65 64 3a |Can be M|odified:|
|00005d00| 20 20 20 59 65 73 0d 55 | 73 65 64 20 62 79 20 3a | Yes.U|sed by :|
|00005d10| 20 54 43 53 45 6e 64 28 | 29 0d 09 09 4d 6f 64 69 | TCSEnd(|)...Modi|
|00005d20| 66 69 65 64 20 62 79 20 | 3a 20 20 53 63 72 69 70 |fied by |: Scrip|
|00005d30| 74 73 0d 67 54 69 6d 65 | 64 45 76 65 6e 74 09 0d |ts.gTime|dEvent..|
|00005d40| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 3a 0d 09 44 |Descript|ion :..D|
|00005d50| 65 73 63 72 69 70 74 69 | 6f 6e 20 6f 66 20 65 76 |escripti|on of ev|
|00005d60| 65 6e 74 20 74 6f 20 62 | 65 20 74 69 6d 65 64 2e |ent to b|e timed.|
|00005d70| 0d 50 6f 73 73 69 62 6c | 65 20 76 61 6c 75 65 73 |.Possibl|e values|
|00005d80| 3a 20 0d 09 6c 69 73 74 | 20 2d 20 66 69 72 73 74 |: ..list| - first|
|00005d90| 20 69 74 65 6d 20 69 73 | 20 74 68 65 20 54 43 53 | item is| the TCS|
|00005da0| 20 6e 75 6d 2c 20 73 65 | 63 6f 6e 64 20 69 73 20 | num, se|cond is |
|00005db0| 74 68 65 20 65 76 65 6e | 74 20 64 65 73 63 2c 20 |the even|t desc, |
|00005dc0| 74 68 69 72 64 20 69 73 | 20 54 43 20 73 74 72 69 |third is| TC stri|
|00005dd0| 6e 67 0d 09 73 74 72 69 | 6e 67 20 2d 20 65 76 65 |ng..stri|ng - eve|
|00005de0| 6e 74 20 64 65 73 63 72 | 69 70 74 69 6f 6e 0d 43 |nt descr|iption.C|
|00005df0| 61 6e 20 62 65 20 4d 6f | 64 69 66 69 65 64 3a 20 |an be Mo|dified: |
|00005e00| 20 20 59 65 73 0d 55 73 | 65 64 20 62 79 20 3a 20 | Yes.Us|ed by : |
|00005e10| 53 74 61 72 74 54 69 6d | 65 72 56 55 28 29 2c 20 |StartTim|erVU(), |
|00005e20| 53 74 6f 70 54 69 6d 65 | 72 56 55 28 29 2c 20 53 |StopTime|rVU(), S|
|00005e30| 74 61 72 74 54 69 6d 65 | 72 49 56 28 29 2c 20 53 |tartTime|rIV(), S|
|00005e40| 74 6f 70 54 69 6d 65 72 | 49 56 28 29 2c 20 4c 6f |topTimer|IV(), Lo|
|00005e50| 67 50 65 72 66 6f 72 6d | 61 6e 63 65 52 65 73 75 |gPerform|anceResu|
|00005e60| 6c 74 73 28 29 2c 20 54 | 69 6d 65 64 45 76 65 6e |lts(), T|imedEven|
|00005e70| 74 44 65 73 63 72 69 70 | 74 69 6f 6e 28 29 2c 20 |tDescrip|tion(), |
|00005e80| 54 69 6d 65 43 75 74 50 | 61 73 74 65 28 29 2c 20 |TimeCutP|aste(), |
|00005e90| 54 69 6d 65 53 61 76 65 | 41 73 28 29 2c 20 54 69 |TimeSave|As(), Ti|
|00005ea0| 6d 65 46 6f 6e 74 54 65 | 73 74 69 6e 67 28 29 2c |meFontTe|sting(),|
|00005eb0| 20 50 65 72 66 6f 72 6d | 53 63 72 6f 6c 6c 28 29 | Perform|Scroll()|
|00005ec0| 0d 09 09 4d 6f 64 69 66 | 69 65 64 20 62 79 20 3a |...Modif|ied by :|
|00005ed0| 20 20 53 63 72 69 70 74 | 73 0d 67 53 63 72 6f 6c | Script|s.gScrol|
|00005ee0| 6c 57 69 6e 64 6f 77 09 | 0d 44 65 73 63 72 69 70 |lWindow.|.Descrip|
|00005ef0| 74 69 6f 6e 20 3a 0d 09 | 48 6f 6f 6b 20 66 6f 72 |tion :..|Hook for|
|00005f00| 20 64 65 66 69 6e 69 6e | 67 20 63 75 73 74 6f 6d | definin|g custom|
|00005f10| 20 74 61 73 6b 20 74 6f | 20 72 65 70 6c 61 63 65 | task to| replace|
|00005f20| 20 62 75 69 6c 74 20 69 | 6e 20 73 63 72 6f 6c 6c | built i|n scroll|
|00005f30| 69 6e 67 20 74 61 73 6b | 73 20 69 6e 20 74 69 6d |ing task|s in tim|
|00005f40| 65 64 20 73 63 72 6f 6c | 6c 69 6e 67 20 72 6f 75 |ed scrol|ling rou|
|00005f50| 74 69 6e 65 73 2e 0d 50 | 6f 73 73 69 62 6c 65 20 |tines..P|ossible |
|00005f60| 76 61 6c 75 65 73 3a 20 | 0d 09 54 61 73 6b 2e 0d |values: |..Task..|
|00005f70| 43 61 6e 20 62 65 20 4d | 6f 64 69 66 69 65 64 3a |Can be M|odified:|
|00005f80| 20 20 20 59 65 73 0d 55 | 73 65 64 20 62 79 20 3a | Yes.U|sed by :|
|00005f90| 20 54 69 6d 65 53 63 72 | 6f 6c 6c 69 6e 67 28 29 | TimeScr|olling()|
|00005fa0| 2c 20 50 65 72 66 6f 72 | 6d 53 63 72 6f 6c 6c 28 |, Perfor|mScroll(|
|00005fb0| 29 0d 09 09 4d 6f 64 69 | 66 69 65 64 20 62 79 20 |)...Modi|fied by |
|00005fc0| 3a 20 20 53 63 72 69 70 | 74 73 0d 67 56 65 72 69 |: Scrip|ts.gVeri|
|00005fd0| 66 79 41 70 70 50 72 69 | 6f 72 54 6f 4c 61 75 6e |fyAppPri|orToLaun|
|00005fe0| 63 68 09 0d 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |ch..Desc|ription |
|00005ff0| 3a 0d 09 46 6c 61 67 20 | 66 6f 72 20 76 65 72 69 |:..Flag |for veri|
|00006000| 66 79 69 6e 67 20 74 68 | 61 74 20 74 68 65 20 72 |fying th|at the r|
|00006010| 69 67 68 74 20 61 6c 69 | 61 73 20 68 61 76 65 20 |ight ali|as have |
|00006020| 62 65 65 6e 20 73 65 6c | 65 63 74 65 64 20 77 68 |been sel|ected wh|
|00006030| 65 6e 20 75 73 69 6e 67 | 20 74 68 65 20 4c 61 75 |en using| the Lau|
|00006040| 6e 63 68 54 77 69 74 63 | 68 28 29 20 74 61 73 6b |nchTwitc|h() task|
|00006050| 2e 20 20 53 65 74 20 4f | 4e 20 62 79 20 64 65 66 |. Set O|N by def|
|00006060| 61 75 6c 74 2e 0d 50 6f | 73 73 69 62 6c 65 20 76 |ault..Po|ssible v|
|00006070| 61 6c 75 65 73 3a 20 0d | 09 42 6f 6f 6c 65 61 6e |alues: .|.Boolean|
|00006080| 2e 0d 43 61 6e 20 62 65 | 20 4d 6f 64 69 66 69 65 |..Can be| Modifie|
|00006090| 64 3a 20 20 20 59 65 73 | 0d 55 73 65 64 20 62 79 |d: Yes|.Used by|
|000060a0| 20 3a 20 4c 61 75 6e 63 | 68 42 79 54 79 70 65 53 | : Launc|hByTypeS|
|000060b0| 65 6c 65 63 74 28 29 0d | 09 09 4d 6f 64 69 66 69 |elect().|..Modifi|
|000060c0| 65 64 20 62 79 20 3a 20 | 49 6e 69 74 47 6c 6f 62 |ed by : |InitGlob|
|000060d0| 61 6c 73 28 29 2c 20 49 | 6e 69 74 43 75 73 74 6f |als(), I|nitCusto|
|000060e0| 6d 28 29 2c 20 53 63 72 | 69 70 74 73 0d 00 f8 00 |m(), Scr|ipts....|
|000060f0| 00 00 00 02 d7 02 23 00 | 11 02 ff 0c 00 ff ff ff |......#.|........|
|00006100| ff 00 00 00 00 00 00 00 | 00 02 23 00 00 02 d7 00 |........|..#.....|
|00006110| 00 00 00 00 00 00 0c 00 | 1e 00 1f 00 01 00 0a 00 |........|........|
|00006120| 00 00 00 03 15 02 5f 00 | 2c 00 08 00 14 05 54 69 |......_.|,.....Ti|
|00006130| 6d 65 73 00 03 00 14 00 | 0d 00 18 00 2e 00 04 00 |mes.....|........|
|00006140| 00 ff 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00006150| 00 01 19 00 5c 01 31 01 | ca 00 28 01 4a 00 7a 22 |....\.1.|..(.J.z"|
|00006160| 41 64 64 65 6e 64 75 6d | 20 74 6f 20 54 68 65 20 |Addendum| to The |
|00006170| 48 69 74 63 68 48 69 6b | 65 72 27 73 20 47 75 69 |HitchHik|er's Gui|
|00006180| 64 65 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |de....d.|.ONLN.d.|
|00006190| 23 01 31 00 b5 01 49 01 | 71 00 2b 59 18 11 74 6f |#.1...I.|q.+Y..to|
|000061a0| 20 53 50 45 43 20 53 26 | 4c 20 76 2e 31 2e 31 00 | SPEC S&|L v.1.1.|
|000061b0| 0d 00 0c 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|000061c0| 35 01 49 00 dd 01 55 01 | 49 00 2b 28 0f 14 44 6f |5.I...U.|I.+(..Do|
|000061d0| 63 75 6d 65 6e 74 20 56 | 65 72 73 69 6f 6e 20 31 |cument V|ersion 1|
|000061e0| 2e 30 00 00 ff 09 34 00 | 00 00 00 02 d7 02 23 00 |.0....4.|......#.|
|000061f0| 11 02 ff 0c 00 ff ff ff | ff 00 00 00 00 00 00 00 |........|........|
|00006200| 00 02 23 00 00 02 d7 00 | 00 00 00 00 00 00 0c 00 |..#.....|........|
|00006210| 1e 00 1f 00 01 00 0a 00 | 00 00 00 03 15 02 5f 00 |........|......_.|
|00006220| 2c 00 08 00 14 05 54 69 | 6d 65 73 00 03 00 14 00 |,.....Ti|mes.....|
|00006230| 0d 00 12 00 2e 00 04 00 | 00 ff 00 00 a1 00 64 00 |........|......d.|
|00006240| 10 4f 4e 4c 4e 00 64 00 | 00 00 29 00 f3 00 3c 01 |.ONLN.d.|..)...<.|
|00006250| 32 00 28 00 56 01 11 08 | 43 6f 6e 74 65 6e 74 73 |2.(.V...|Contents|
|00006260| 00 00 0d 00 0c 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00006270| 64 00 09 00 4d 00 3c 00 | 59 00 f4 00 28 00 75 00 |d...M.<.|Y...(.u.|
|00006280| 5a 22 45 78 63 65 70 74 | 69 6f 6e 20 48 61 6e 64 |Z"Except|ion Hand|
|00006290| 6c 69 6e 67 20 69 6e 20 | 53 50 45 43 20 53 26 4c |ling in |SPEC S&L|
|000062a0| 20 31 2e 32 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | 1.2....|d..ONLN.|
|000062b0| 64 ff ff 00 00 00 00 00 | 00 00 00 00 29 bb 20 2e |d.......|....). .|
|000062c0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000062d0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 00 |........|........|
|000062e0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 ff ff 00 00 00 |..d..ONL|N.d.....|
|000062f0| 00 00 00 00 00 00 29 60 | 20 2e 2e 2e 2e 2e 2e 2e |......)`| .......|
|00006300| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00006310| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 00 a1 00 64 00 10 4f |........|....d..O|
|00006320| 4e 4c 4e 00 64 ff ff 00 | 00 00 00 00 00 00 00 00 |NLN.d...|........|
|00006330| 29 60 0b 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 00 00 |)`......|........|
|00006340| a1 00 64 00 10 4f 4e 4c | 4e 00 64 ff ff 00 00 00 |..d..ONL|N.d.....|
|00006350| 00 00 00 00 00 00 29 23 | 01 33 00 00 a1 00 64 00 |......)#|.3....d.|
|00006360| 10 4f 4e 4c 4e 00 64 00 | 2e 00 59 00 60 00 65 01 |.ONLN.d.|..Y.`.e.|
|00006370| 28 00 28 00 81 00 7e 26 | 54 6f 67 67 6c 69 6e 67 |(.(...~&|Toggling|
|00006380| 20 45 78 63 65 70 74 69 | 6f 6e 20 48 61 6e 64 6c | Excepti|on Handl|
|00006390| 69 6e 67 20 4f 6e 20 61 | 6e 64 20 4f 66 66 00 00 |ing On a|nd Off..|
|000063a0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 ff ff 00 00 00 |..d..ONL|N.d.....|
|000063b0| 00 00 00 00 00 00 29 ca | 20 2e 2e 2e 2e 2e 2e 2e |......).| .......|
|000063c0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000063d0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 00 a1 00 64 00 10 4f |........|....d..O|
|000063e0| 4e 4c 4e 00 64 ff ff 00 | 00 00 00 00 00 00 00 00 |NLN.d...|........|
|000063f0| 29 60 18 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |)`......|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.